Skip to content

Commit 464ebc5

Browse files
committed
-
1 parent 97cbe51 commit 464ebc5

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
@@ -17,6 +17,12 @@
1717
"2.7, or 3.3 or above, so you can't use it unless you upgrade your "
1818
"Python version."
1919
)
20+
if sys.version_info[0] == 3 and sys.version_info[1] <= 2:
21+
raise Exception(
22+
"You're using Python <= 3.2, but this package requires either Python "
23+
"3.3 or above, or Python 2.7, so you can't use it unless you upgrade "
24+
"your Python version."
25+
)
2026
# #
2127
### Finished confirming correct Python version. ###############################
2228

0 commit comments

Comments
 (0)