We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ae7ea9 commit 65e9f0fCopy full SHA for 65e9f0f
setup.py
@@ -9,6 +9,17 @@
9
import setuptools
10
import sys
11
12
+### Confirming correct Python version: ########################################
13
+# #
14
+if sys.version_info[0] >= 3:
15
+ raise Exception("Python 3.x is not supported")
16
+if sys.version_info[1] <= 4:
17
+ raise Exception(
18
+ "You're using Python <=2.4, but this package requires Python 2.5 and "
19
+ "upwards, so you can't use it unless you upgrade your Python version."
20
+ )
21
22
+### Finished confirming correct Python version. ###############################
23
24
def get_python_toolbox_packages():
25
'''
0 commit comments