From 22542eeab0e5fe51b6f3a4352af3e471abdcaeee Mon Sep 17 00:00:00 2001 From: rocky Date: Wed, 10 Jan 2018 10:00:55 -0500 Subject: [PATCH] Correct setup.py version checking --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 83184451..1a35b50a 100755 --- a/setup.py +++ b/setup.py @@ -4,8 +4,8 @@ import sys """Setup script for the 'uncompyle6' distribution.""" SYS_VERSION = sys.version_info[0:2] -if not ((2, 6) <= SYS_VERSION <= (3, 7)) or ((3, 0) <= SYS_VERSION <= (3, 2)): - mess = "Python Release 2.6 .. 3.7 excluding 3.1 and 3.2 are supported in this code branch." +if not ((2, 6) <= SYS_VERSION <= (3, 7)) or ((3, 0) <= SYS_VERSION <= (3, 1)): + mess = "Python Release 2.6 .. 3.7 excluding 3.0 and 3.1 are supported in this code branch." if ((2, 4) <= SYS_VERSION <= (2, 7)): mess += ("\nFor your Python, version %s, use the python-2.4 code/branch." % sys.version[0:3])