setup.py 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # coding: utf-8
  2. import sys
  3. from setuptools import setup
  4. from setuptools import find_packages
  5. install_requires = [
  6. 'PyYAML',
  7. 'redis',
  8. 'psutil',
  9. ]
  10. xyz_require = [
  11. 'dijkstar',
  12. 'tmx',
  13. 'numpy',
  14. ]
  15. cocos2d_require = [
  16. 'cocos2d',
  17. ] + xyz_require
  18. tests_require = [
  19. 'pytest',
  20. 'freezegun',
  21. ] + cocos2d_require
  22. if sys.version_info.major == 3 and sys.version_info.minor == 4:
  23. install_requires.append('typing')
  24. setup(
  25. name='synergine2',
  26. version='1.0.3',
  27. description='Subject focus simulation framework',
  28. author='Bastien Sevajol',
  29. author_email='sevajol.bastien@gmail.com',
  30. url='https://github.com/buxx/synergine2',
  31. packages=find_packages(exclude=[
  32. 'contrib',
  33. 'docs',
  34. 'tests',
  35. ]),
  36. classifiers=[
  37. "Programming Language :: Python",
  38. "Development Status :: 4 - Beta",
  39. "Programming Language :: Python :: 3.5",
  40. ],
  41. install_requires=install_requires,
  42. extras_require={
  43. 'tests': tests_require,
  44. 'cocos2d': tests_require,
  45. 'xyz': tests_require,
  46. },
  47. )