setup.py 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. import os
  4. import re
  5. import sys
  6. from setuptools import setup
  7. from setuptools.command.test import test as TestCommand
  8. here = os.path.abspath(os.path.dirname(__file__))
  9. packages = ['acme']
  10. requires = [
  11. ]
  12. about = {}
  13. with open(os.path.join(here, 'acme', '__version__.py'), 'r') as f:
  14. exec(f.read(), about)
  15. setup(
  16. name=about['__title__'],
  17. version=about['__version__'],
  18. description=about['__description__'],
  19. author=about['__author__'],
  20. author_email=about['__author_email__'],
  21. url=about['__url__'],
  22. packages=packages,
  23. package_data={'': ['LICENSE', 'NOTICE']},
  24. package_dir={'acme': 'acme'},
  25. include_package_data=True,
  26. python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
  27. install_requires=requires,
  28. license=about['__license__'],
  29. zip_safe=False,
  30. classifiers=[
  31. 'Development Status :: 5 - Production/Stable',
  32. 'Intended Audience :: Developers',
  33. 'Natural Language :: English',
  34. 'License :: OSI Approved :: Apache Software License',
  35. 'Programming Language :: Python',
  36. 'Programming Language :: Python :: 2',
  37. 'Programming Language :: Python :: 2.7',
  38. 'Programming Language :: Python :: 3',
  39. 'Programming Language :: Python :: 3.4',
  40. 'Programming Language :: Python :: 3.5',
  41. 'Programming Language :: Python :: 3.6',
  42. 'Programming Language :: Python :: 3.7',
  43. 'Programming Language :: Python :: Implementation :: CPython',
  44. 'Programming Language :: Python :: Implementation :: PyPy'
  45. ],
  46. )