setup.py 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. from setuptools import setup
  2. import sys
  3. import os
  4. __version__ = '6.0.5'
  5. CURRENT_PYTHON = sys.version_info[:2]
  6. REQUIRED_PYTHON = (3,6)
  7. # This check and everything above must remain compatible with Python 3.6
  8. if CURRENT_PYTHON < REQUIRED_PYTHON:
  9. sys.stderr.write("""
  10. ==========================
  11. Unsupported Python version
  12. ==========================
  13. This version of ZipFly requires Python {}.{}, but you're trying to
  14. install it on Python {}.{}.
  15. This may be because you are using a version of pip that doesn't
  16. understand the python_requires classifier""".format(*(REQUIRED_PYTHON + CURRENT_PYTHON)))
  17. sys.exit(1)
  18. # 3.9
  19. setup(
  20. name='zipfly',
  21. packages=['zipfly'],
  22. description='ZipFly',
  23. version=__version__,
  24. url='http://github.com/sandes/zipfly',
  25. download_url = f'https://github.com/sandes/zipfly/archive/v{__version__}.tar.gz',
  26. author='sandes',
  27. long_description=open('README.md').read(),
  28. long_description_content_type='text/markdown',
  29. author_email='santidebus@gmail.com',
  30. keywords=['zipfly','Santiago Debus','santiagodebus.com'],
  31. install_requires=[],
  32. classifiers=[
  33. 'Development Status :: 5 - Production/Stable',
  34. 'Intended Audience :: Developers',
  35. 'Topic :: Software Development :: Build Tools',
  36. 'License :: OSI Approved :: MIT License',
  37. 'Programming Language :: Python :: 3.6',
  38. 'Programming Language :: Python :: 3.7',
  39. 'Programming Language :: Python :: 3.8',
  40. 'Programming Language :: Python :: 3.9',
  41. 'Programming Language :: Python :: 3.10',
  42. ],
  43. )