1212### Confirming correct Python version: ########################################
1313# #
1414if sys .version_info [0 ] >= 3 :
15- raise Exception ("Python 3.x is not supported" )
16- if sys .version_info [1 ] <= 4 :
15+ raise Exception ("Python 3.x is not supported, only Python 2.6 and Python "
16+ "2.7." )
17+ if sys .version_info [1 ] <= 5 :
1718 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."
19+ "You're using Python <=2.5, but this package requires either Python "
20+ "2.6 or Python 2.7, so you can't use it unless you upgrade your "
21+ "Python version."
2022 )
2123# #
2224### Finished confirming correct Python version. ###############################
@@ -121,7 +123,6 @@ def get_packages():
121123 'License :: OSI Approved :: MIT License' ,
122124 'Operating System :: OS Independent' ,
123125 'Programming Language :: Python' ,
124- 'Programming Language :: Python :: 2.5' ,
125126 'Programming Language :: Python :: 2.6' ,
126127 'Programming Language :: Python :: 2.7' ,
127128 'Topic :: Software Development :: Libraries :: Python Modules' ,
@@ -131,7 +132,7 @@ def get_packages():
131132
132133setuptools .setup (
133134 name = 'python_toolbox' ,
134- version = '0.3 ' ,
135+ version = '0.4 ' ,
135136 requires = ['distribute' ],
136137 test_suite = 'nose.collector' ,
137138 install_requires = ['distribute' ],
0 commit comments