summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/setup.py5
1 files changed, 5 insertions, 0 deletions
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',