Python 2.5 support, simplejson if <2.6

This commit is contained in:
Kenneth Reitz
2011-02-21 14:23:58 -05:00
parent 22658f6386
commit 3eb21e19e9
+3 -2
View File
@@ -17,7 +17,8 @@ if sys.argv[-1] == "publish":
required = ['requests']
# if python > 2.6, require simplejson
if sys.version_info > (2,6):
required.append('simplejson')
setup(
name='convore',
@@ -37,7 +38,7 @@ setup(
'Natural Language :: English',
'License :: OSI Approved :: ISC License (ISCL)',
'Programming Language :: Python',
# 'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
# 'Programming Language :: Python :: 3.0',