setup.py 1.5 KB

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