From 6daf4e9b6e2ec476e7c8008bef182afc322f180e Mon Sep 17 00:00:00 2001 From: Sambhav Kothari Date: Tue, 9 May 2017 14:40:44 +0530 Subject: [PATCH] Fix python version check --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 0573c2958..d3f191940 100755 --- a/setup.py +++ b/setup.py @@ -12,8 +12,8 @@ from io import StringIO from picard import __version__ -if sys.version_info < (2, 7): - print("*** You need Python 2.7 or higher to use Picard.") +if sys.version_info < (3, 5): + sys.exit("ERROR: You need Python 3.5 or higher to use Picard.") args = {}