From: Ben Darnell Date: Wed, 27 Dec 2017 18:05:22 +0000 (-0500) Subject: setup.py: Add python_requires X-Git-Tag: v5.0.0~27^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be5d8114064293d50ffefed8d0bc88e0fdc96c9a;p=thirdparty%2Ftornado.git setup.py: Add python_requires --- diff --git a/setup.py b/setup.py index 37ea05942..70cb00439 100644 --- a/setup.py +++ b/setup.py @@ -135,6 +135,9 @@ if setuptools is not None: install_requires.append('backports_abc>=0.4') kwargs['install_requires'] = install_requires + python_requires = '>= 2.7, !=3.0.*, !=3.1.*, !=3.2.*, != 3.3.*' + kwargs['python_requires'] = python_requires + # Verify that the SSL module has all the modern upgrades. Check for several # names individually since they were introduced at different versions, # although they should all be present by Python 3.4 or 2.7.9.