setup.py 1.1KB

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