setup.py 752 B

12345678910111213141516171819202122232425262728
  1. import pkg_resources
  2. import os
  3. from setuptools import setup, find_packages
  4. with open("README.md","r") as file:
  5. long_description=fiile.read()
  6. setup(
  7. name="auto_cuit",
  8. version="1.0.1",
  9. package_data={
  10. 'conf': ['*.json']
  11. },
  12. author="lyq",
  13. author_email='liuyuqi.gov@msn.cn',
  14. url="https://git.yoqi.me/lyq/auto_cuit",
  15. description='Auto choose course for cuit.edu.cn',
  16. long_description=long_description
  17. packages=find_packages(exclude=["tests*"]),
  18. install_requires=[
  19. str(r)
  20. for r in pkg_resources.parse_requirements(
  21. open(os.path.join(os.path.dirname(__file__), "requirements.txt"))
  22. )
  23. ],
  24. include_package_data=True,
  25. extras_require={'dev': ['pytest']},
  26. )