Skip to content
This repository was archived by the owner on Dec 21, 2024. It is now read-only.

Commit c0bd522

Browse files
committed
Added version check again
1 parent e4a887e commit c0bd522

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
import sys
2+
if sys.version_info < (2, 6):
3+
print(sys.stderr, "{}: need Python 2.6 or later.".format(sys.argv[0]))
4+
print(sys.stderror, "Your Python is {}".format(sys.version))
5+
sys.exit(1)
6+
17
from setuptools import setup
28

39
setup(

0 commit comments

Comments
 (0)