]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
setup.py: Add python_requires
authorBen Darnell <ben@bendarnell.com>
Wed, 27 Dec 2017 18:05:22 +0000 (13:05 -0500)
committerBen Darnell <ben@bendarnell.com>
Wed, 27 Dec 2017 18:05:22 +0000 (13:05 -0500)
setup.py

index 37ea05942620797bc469c7e6de228a94eca87e36..70cb00439c01411657fcc0d066b558d6839a0265 100644 (file)
--- 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.