diff --git a/setup.py b/setup.py index 3b28b2ad1..fb3c2d1d3 100644 --- a/setup.py +++ b/setup.py @@ -4,12 +4,12 @@ import sys from setuptools import setup -if sys.version_info < (2, 7, 0) or (3, 0, 0) <= sys.version_info < (3, 4, 0): - sys.stderr.write('ERROR: You need Python 2.7 or 3.4+ ' +if sys.version_info[:2] not in ((2, 7), (3, 4)): + sys.stderr.write('ERROR: You need Python 2.7 or 3.4 ' 'to install the typing package.\n') exit(1) -version = '3.7.4.1' +version = '3.7.4.2' description = 'Type Hints for Python' long_description = '''\ Typing -- Type Hints for Python