We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97cbe51 commit 464ebc5Copy full SHA for 464ebc5
setup.py
@@ -17,6 +17,12 @@
17
"2.7, or 3.3 or above, so you can't use it unless you upgrade your "
18
"Python version."
19
)
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
+ )
26
# #
27
### Finished confirming correct Python version. ###############################
28
0 commit comments