From c951033b33b9525e823d0a0f214c3defa9dd9327 Mon Sep 17 00:00:00 2001 From: Hugo Date: Tue, 19 Jun 2018 11:26:04 +0300 Subject: http -> https --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 32b3dcf..6805b55 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,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: @@ -103,7 +103,7 @@ def run_setup(with_binary): classifiers=CLASSIFIERS, 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'], -- cgit v1.2.1 From ffd38e498f3fb9d4ede38c4a255ff595355abcad Mon Sep 17 00:00:00 2001 From: Hugo Date: Tue, 19 Jun 2018 11:26:11 +0300 Subject: Add python_requires to help pip --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 6805b55..d1a44a6 100644 --- a/setup.py +++ b/setup.py @@ -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', @@ -101,6 +103,7 @@ 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="https://github.com/simplejson/simplejson", -- cgit v1.2.1