setup.py 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #!/usr/bin/env python
  2. """The setup script."""
  3. from setuptools import setup, find_packages
  4. with open('README.rst') as readme_file:
  5. readme = readme_file.read()
  6. with open('HISTORY.rst') as history_file:
  7. history = history_file.read()
  8. requirements = ['Click>=7.0', 'pika', 'django']
  9. test_requirements = ['pytest>=3', ]
  10. setup(
  11. author="Jian Dai",
  12. author_email='daijian1@qq.com',
  13. python_requires='>=3.6',
  14. classifiers=[
  15. 'Development Status :: 2 - Pre-Alpha',
  16. 'Intended Audience :: Developers',
  17. 'License :: OSI Approved :: MIT License',
  18. 'Natural Language :: English',
  19. 'Programming Language :: Python :: 3',
  20. 'Programming Language :: Python :: 3.6',
  21. 'Programming Language :: Python :: 3.7',
  22. 'Programming Language :: Python :: 3.8',
  23. ],
  24. description="hsyc common base libs",
  25. entry_points={
  26. 'console_scripts': [
  27. 'hsyclibs=hsyclibs.cli:main',
  28. ],
  29. },
  30. install_requires=requirements,
  31. license="MIT license",
  32. long_description=readme + '\n\n' + history,
  33. include_package_data=True,
  34. keywords='hsyclibs',
  35. name='hsyclibs',
  36. packages=find_packages(include=['hsyclibs', 'hsyclibs.*']),
  37. test_suite='tests',
  38. tests_require=test_requirements,
  39. url='https://git.daimon.cc/common/hsyclibs',
  40. version='0.9.3',
  41. zip_safe=False,
  42. )