setup.py 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. 'pytest-mock',
  22. ] + cocos2d_require
  23. if sys.version_info.major == 3 and sys.version_info.minor == 4:
  24. install_requires.append('typing')
  25. setup(
  26. name='synergine2',
  27. version='1.0.3',
  28. description='Subject focus simulation framework',
  29. author='Bastien Sevajol',
  30. author_email='sevajol.bastien@gmail.com',
  31. url='https://github.com/buxx/synergine2',
  32. packages=find_packages(exclude=[
  33. 'contrib',
  34. 'docs',
  35. 'tests',
  36. ]),
  37. classifiers=[
  38. "Programming Language :: Python",
  39. "Development Status :: 4 - Beta",
  40. "Programming Language :: Python :: 3.5",
  41. ],
  42. install_requires=install_requires,
  43. extras_require={
  44. 'tests': tests_require,
  45. 'cocos2d': tests_require,
  46. 'xyz': tests_require,
  47. },
  48. )