diff options
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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__, |