Skip to content

Commit 14ce542

Browse files
committed
Merge pull request #166 from choldgraf/add_python_version_check
Added a check for python 3
2 parents cd475a5 + ea1454d commit 14ce542

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
from setuptools.command.test import test as TestCommand
44

55

6+
if sys.version_info < (3, 0):
7+
raise ValueError('This package requires python >= 3.0')
68

79
with open('requirements.txt') as fid:
810
install_requires = [l.strip() for l in fid.readlines() if l]

0 commit comments

Comments
 (0)