setup.py 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #!/usr/bin/env python
  2. """Setup script for the pyparsing module distribution."""
  3. from setuptools import setup
  4. from pyparsing import __version__ as pyparsing_version
  5. from io import open
  6. # The directory containing this file
  7. README_name = __file__.replace("setup.py", "README.rst")
  8. # The text of the README file
  9. with open(README_name, encoding='utf8') as README:
  10. pyparsing_main_doc = README.read()
  11. modules = ["pyparsing",]
  12. setup(# Distribution meta-data
  13. name = "pyparsing",
  14. version = pyparsing_version,
  15. description = "Python parsing module",
  16. long_description = pyparsing_main_doc,
  17. author = "Paul McGuire",
  18. author_email = "ptmcg@users.sourceforge.net",
  19. url = "https://github.com/pyparsing/pyparsing/",
  20. download_url = "https://pypi.org/project/pyparsing/",
  21. license = "MIT License",
  22. py_modules = modules,
  23. python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*',
  24. test_suite="unitTests.suite",
  25. classifiers=[
  26. 'Development Status :: 5 - Production/Stable',
  27. 'Intended Audience :: Developers',
  28. 'Intended Audience :: Information Technology',
  29. 'License :: OSI Approved :: MIT License',
  30. 'Operating System :: OS Independent',
  31. 'Programming Language :: Python',
  32. 'Programming Language :: Python :: 2',
  33. 'Programming Language :: Python :: 2.6',
  34. 'Programming Language :: Python :: 2.7',
  35. 'Programming Language :: Python :: 3',
  36. 'Programming Language :: Python :: 3.3',
  37. 'Programming Language :: Python :: 3.4',
  38. 'Programming Language :: Python :: 3.5',
  39. 'Programming Language :: Python :: 3.6',
  40. 'Programming Language :: Python :: 3.7',
  41. 'Programming Language :: Python :: 3.8',
  42. ]
  43. )