setup.py 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. import os
  2. from setuptools import setup
  3. try:
  4. with open(os.path.join(os.path.dirname(__file__), "README.md"), encoding="utf-8") as f:
  5. long_description = f.read()
  6. except FileNotFoundError:
  7. long_description = ""
  8. with open(os.path.join(os.path.dirname(__file__), "requirements.in"), encoding="utf-8") as f:
  9. requirements = f.readlines()
  10. setup(
  11. name="labours",
  12. description="Python companion for github.com/src-d/hercules to visualize the results.",
  13. long_description=long_description,
  14. long_description_content_type="text/markdown",
  15. version="10.4.3",
  16. license="Apache-2.0",
  17. author="source{d}",
  18. author_email="machine-learning@sourced.tech",
  19. url="https://github.com/src-d/hercules",
  20. download_url="https://github.com/src-d/hercules",
  21. packages=["labours", "labours._vendor", "labours.modes"],
  22. keywords=["git", "mloncode", "mining software repositories", "hercules"],
  23. install_requires=requirements,
  24. package_data={"labours": ["../LICENSE.md", "../README.md", "../requirements.txt"]},
  25. entry_points={
  26. "console_scripts": ["labours=labours.__main__:main"],
  27. },
  28. classifiers=[
  29. "Development Status :: 5 - Production/Stable",
  30. "Intended Audience :: Developers",
  31. "Environment :: Console",
  32. "License :: OSI Approved :: Apache Software License",
  33. "Programming Language :: Python :: 3.5",
  34. "Programming Language :: Python :: 3.6",
  35. "Programming Language :: Python :: 3.7",
  36. "Programming Language :: Python :: 3.8",
  37. ],
  38. )