setup.py 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. setup(
  9. name="labours",
  10. description="Python companion for github.com/src-d/hercules to visualize the results.",
  11. long_description=long_description,
  12. long_description_content_type="text/markdown",
  13. version="10.4.1",
  14. license="Apache-2.0",
  15. author="source{d}",
  16. author_email="machine-learning@sourced.tech",
  17. url="https://github.com/src-d/hercules",
  18. download_url="https://github.com/src-d/hercules",
  19. packages=["labours"],
  20. keywords=["git", "mloncode", "mining software repositories", "hercules"],
  21. install_requires=[
  22. "clint>=0.5.1,<1.0",
  23. "matplotlib>=2.0,<4.0",
  24. "numpy>=1.12.0,<2.0",
  25. "pandas>=0.20.0,<1.0",
  26. "PyYAML>=3.0,<5.0",
  27. "scipy>=0.19.0,<1.2.2",
  28. "protobuf>=3.5.0,<4.0",
  29. "munch>=2.0,<3.0",
  30. "hdbscan>=0.8.0,<2.0",
  31. "seriate>=1.0,<2.0",
  32. "fastdtw>=0.3.2,<2.0",
  33. "python-dateutil>=2.6.0,<3.0",
  34. "lifelines>=0.20.0,<2.0",
  35. ],
  36. package_data={"labours": ["../LICENSE.md", "../README.md", "../requirements.txt"]},
  37. entry_points={
  38. "console_scripts": ["labours=labours.__main__:main"],
  39. },
  40. classifiers=[
  41. "Development Status :: 5 - Production/Stable",
  42. "Intended Audience :: Developers",
  43. "Environment :: Console",
  44. "License :: OSI Approved :: Apache Software License",
  45. "Programming Language :: Python :: 3.5",
  46. "Programming Language :: Python :: 3.6",
  47. "Programming Language :: Python :: 3.7",
  48. "Programming Language :: Python :: 3.8",
  49. ],
  50. )