From 3eb21e19e9a8fdf970ad81f5929d39251ae3c181 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 21 Feb 2011 14:23:58 -0500 Subject: [PATCH] Python 2.5 support, simplejson if <2.6 --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 0e2ee5a..79abd0e 100644 --- a/setup.py +++ b/setup.py @@ -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',