2.5 compatible version checking

This commit is contained in:
Kenneth Reitz
2011-03-23 02:17:26 -04:00
parent 1a9343750e
commit c6565c9e29
8 changed files with 15 additions and 18 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ if sys.argv[-1] == "publish":
required = []
if sys.version_info < (2,6):
if sys.version_info[0] < (2,6):
required.append('simplejson')
setup(