setup.py 937 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. import codecs
  2. import os
  3. from setuptools import find_packages, setup
  4. here = os.path.abspath(os.path.dirname(__file__))
  5. with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as f:
  6. long_description = "\n" + f.read()
  7. with open("requirements.txt") as f:
  8. install_requires = f.read().splitlines()
  9. version = ""
  10. setup(
  11. name="fastapi-example",
  12. version="1.0.1",
  13. author="liuyuqi.gov@msn.cn",
  14. description="fastapi example",
  15. long_description=long_description,
  16. long_description_content_type="text/markdown",
  17. packages=find_packages(),
  18. package_data={"data": ["*.txt", "*.rst", "*.md"]},
  19. include_package_data=True,
  20. install_requires=install_requires,
  21. zip_safe=False,
  22. entry_points={
  23. "console_scripts": ["run=apps:run"],
  24. },
  25. url="",
  26. project_urls={},
  27. keywords=[
  28. "fastapi",
  29. ],
  30. classifiers=[
  31. "Development Status :: 1 - Planning",
  32. ],
  33. )