diff --git a/setup.py b/setup.py index 644dadf47..307f4953a 100644 --- a/setup.py +++ b/setup.py @@ -3,6 +3,8 @@ from setuptools.command.test import test as TestCommand +if sys.version_info < (3, 0): + raise ValueError('This package requires python >= 3.0') with open('requirements.txt') as fid: install_requires = [l.strip() for l in fid.readlines() if l]