diff options
author | Bob Ippolito <bob@redivi.com> | 2018-06-19 08:13:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-19 08:13:43 -0700 |
commit | 00ed20da4c0e5f0396661f73482418651ff4d8c7 (patch) | |
tree | facc78e7de0a17d0551d24a34dd53fefd5925ffb | |
parent | d5810ccd5c89e4691c2ab27ea3ca05de4845f547 (diff) | |
parent | ffd38e498f3fb9d4ede38c4a255ff595355abcad (diff) | |
download | simplejson-00ed20da4c0e5f0396661f73482418651ff4d8c7.tar.gz |
Merge pull request #224 from hugovk/python_requires
Add python_requires to help pip
-rw-r--r-- | setup.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -18,6 +18,8 @@ DESCRIPTION = "Simple, fast, extensible JSON encoder/decoder for Python" with open('README.rst', 'r') as f: LONG_DESCRIPTION = f.read() +PYTHON_REQUIRES = '>=2.5, !=3.0.*, !=3.1.*, !=3.2.*' + CLASSIFIERS = [ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', @@ -41,7 +43,7 @@ CLASSIFIERS = [ if sys.platform == 'win32' and sys.version_info < (2, 7): # 2.6's distutils.msvc9compiler can raise an IOError when failing to # find the compiler - # It can also raise ValueError http://bugs.python.org/issue7511 + # It can also raise ValueError https://bugs.python.org/issue7511 ext_errors = (CCompilerError, DistutilsExecError, DistutilsPlatformError, IOError, ValueError) else: @@ -101,9 +103,10 @@ def run_setup(with_binary): description=DESCRIPTION, long_description=LONG_DESCRIPTION, classifiers=CLASSIFIERS, + python_requires=PYTHON_REQUIRES, author="Bob Ippolito", author_email="bob@redivi.com", - url="http://github.com/simplejson/simplejson", + url="https://github.com/simplejson/simplejson", license="MIT License", packages=['simplejson', 'simplejson.tests'], platforms=['any'], |