aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 9f5d0b2..1d8a7e3 100755
--- a/setup.py
+++ b/setup.py
@@ -6,6 +6,7 @@
#
import os
+import sys
from setuptools import setup, find_packages
@@ -16,6 +17,11 @@ def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
+# Check the minimal Python version
+if sys.version_info < (3, 4):
+ sys.exit("Sorry, Python >= 3.4 is required...")
+
+
setup(
name=pkg.__pkgname__,
version=pkg.__version__,