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