From 1d186c730074700995c3139af73267e9e498990a Mon Sep 17 00:00:00 2001 From: Bryn Keller Date: Tue, 10 May 2016 13:33:56 -0700 Subject: Setup.py checks for Python 2.7.11 or greater --- python/setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python/setup.py b/python/setup.py index 133a204..556b722 100644 --- a/python/setup.py +++ b/python/setup.py @@ -4,6 +4,11 @@ import sys import os.path from io import open +if sys.version_info < (2, 7, 11): + print("Sorry, PHAT requires Python 2.7.11 or later") + sys.exit(1) + + ext_modules = [ Extension( '_phat', -- cgit v1.2.3