From 90f120f50844bdaf4f576c216b5a520ed7fdff3a Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 15 Mar 2018 12:21:54 -0700 Subject: [PATCH] fix python_requires= to allow installation under py3.5 According to PEP440, a comma in a version specifier behaves as a logical AND, so the previous "~=3.5,~=3.6" is equivalent to just "~=3.6", which excludes python3.5. This patch replaces it with "~=3.5", which is equivalent to ">=3.5, ==3.*", so it includes 3.5, 3.6, 3.7, and beyond (but not 4.0). --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1fcff7f..f21c906 100644 --- a/setup.py +++ b/setup.py @@ -36,5 +36,5 @@ setup( keywords='cryptography noiseprotocol noise security', packages=find_packages(exclude=['contrib', 'docs', 'tests', 'examples']), install_requires=['cryptography==2.1.4'], - python_requires='~=3.5,~=3.6', + python_requires='~=3.5', # we like 3.5, 3.6, and beyond, but not 4.0 )