Start to handle 3.7

This commit is contained in:
rocky
2018-04-12 23:49:37 -04:00
parent fa6408d53b
commit 7237658f1f
4 changed files with 17 additions and 3 deletions

View File

@@ -71,10 +71,9 @@ def main_bin():
if not (sys.version_info[0:2] in ((2, 6), (2, 7),
(3, 1), (3, 2), (3, 3),
(3, 4), (3, 5), (3, 6),
# (3, 7)
(3, 7)
)):
# print('Error: %s requires Python 2.6-2.7, or 3.1-3.7' % program,
print('Error: %s requires Python 2.6-2.7, or 3.1-3.6' % program,
print('Error: %s requires Python 2.6-2.7, or 3.1-3.7' % program,
file=sys.stderr)
sys.exit(-1)