setup.py 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import setuptools
  4. import sys
  5. from os.path import dirname
  6. # This is needed for versioneer to be importable when building with PEP 517.
  7. # See <https://github.com/warner/python-versioneer/issues/193> and links
  8. # therein for more information.
  9. sys.path.append(dirname(__file__))
  10. import versioneer
  11. with open("README.md", "r") as fh:
  12. long_description = fh.read()
  13. setuptools.setup(
  14. name="datalad-metadata-model",
  15. version=versioneer.get_version(),
  16. cmdclass=versioneer.get_cmdclass(),
  17. author="The Datalad Team",
  18. author_email="christian.moench@web.de",
  19. description="Datalad Metadata Model",
  20. long_description=long_description,
  21. long_description_content_type="text/markdown",
  22. url="https://github.com/christian-monch/metadata-model",
  23. packages=setuptools.find_packages(),
  24. classifiers=[
  25. "Development Status :: 3 - Alpha"
  26. "Programming Language :: Python :: 3",
  27. "License :: OSI Approved :: MIT License",
  28. "Operating System :: OS Independent",
  29. ],
  30. python_requires=">=3.6",
  31. entry_points={
  32. "console_scripts": [
  33. "mdc=tools.metadata_creator.main:main"
  34. ]
  35. },
  36. install_requires=[
  37. "dataclasses"
  38. ]
  39. )