From ba9615cb7ec71a87b05b5b89a5de8403b0b55dc1 Mon Sep 17 00:00:00 2001 From: Max Krivich Date: Thu, 28 Jun 2018 18:11:15 +0300 Subject: [PATCH 1/3] Add `python_requires` in setup.py This argument prevents accident install `pipenv` on not supported python versions. Syntax for this string you can find in PEP440. Note: this feature works with pip 9.0+. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 9a31430d..0e0d9b7e 100644 --- a/setup.py +++ b/setup.py @@ -122,6 +122,7 @@ setup( "pipenv.patched.notpip._vendor.distlib._backport": ["sysconfig.cfg"], "pipenv.patched.notpip._vendor.distlib": ["t32.exe", "t64.exe", "w32.exe", "w64.exe"], }, + python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*', install_requires=required, extras_require={}, include_package_data=True, From f8396a1ecf8a69144749b5161a5e8acc23e95a30 Mon Sep 17 00:00:00 2001 From: Max Krivich Date: Thu, 28 Jun 2018 18:48:28 +0300 Subject: [PATCH 2/3] Add py3.3 to ignore list --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0e0d9b7e..d6290272 100644 --- a/setup.py +++ b/setup.py @@ -122,7 +122,7 @@ setup( "pipenv.patched.notpip._vendor.distlib._backport": ["sysconfig.cfg"], "pipenv.patched.notpip._vendor.distlib": ["t32.exe", "t64.exe", "w32.exe", "w64.exe"], }, - python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*', + python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', install_requires=required, extras_require={}, include_package_data=True, From 4d43c39fb5aaac3b9822349f678484fbfb2ce6fe Mon Sep 17 00:00:00 2001 From: Max Krivich Date: Thu, 28 Jun 2018 19:00:09 +0300 Subject: [PATCH 3/3] Update classifiers in setup.py Remove python3.3 version from classifiers list --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index d6290272..2cbe33ff 100644 --- a/setup.py +++ b/setup.py @@ -132,7 +132,6 @@ setup( 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6',