setup.py 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. import os
  2. import pkg_resources
  3. from setuptools import setup, find_packages
  4. setup(
  5. name="outlook-creator",
  6. version="1.0.3",
  7. license="Apache License Version 2.0",
  8. package_data={
  9. 'conf': ['*.json']
  10. },
  11. author="lyq",
  12. author_email='liuyuqi.gov@msn.cn',
  13. url="https://github.com/jianboy/getpic",
  14. description='Crawl image from Google or Baidu search engine',
  15. long_description=open("README.md", encoding="utf-8").read(),
  16. long_description_content_type="text/markdown",
  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__),
  22. "requirements.txt"), encoding="utf-8")
  23. )
  24. ],
  25. include_package_data=True,
  26. extras_require={'dev': ['pytest']},
  27. classifiers=[
  28. "License :: OSI Approved :: Apache License Version 2.0",
  29. "Intended Audience :: Developers",
  30. "Topic :: Software Development :: Libraries :: Python Modules",
  31. "Programming Language :: Python :: 3.8",
  32. "Programming Language :: Python :: 3.9",
  33. "Programming Language :: Python :: 3.10",
  34. "Programming Language :: Python :: 3.11",
  35. ],
  36. )