diff setup.py @ 9:0069096e8e22

python 2.4 compatability
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 30 Mar 2012 16:45:50 -0700
parents 109627b7db9f
children 03db23600c1f
line wrap: on
line diff
--- a/setup.py	Fri Mar 30 10:37:39 2012 -0700
+++ b/setup.py	Fri Mar 30 16:45:50 2012 -0700
@@ -4,9 +4,14 @@
 
 import os
 
-version = "0.1.1"
+version = "0.1.2"
 dependencies = []
 
+try:
+    import json
+except ImportError:
+    dependencies.append('simplejson')
+
 # allow use of setuptools/distribute or distutils
 kw = {}
 try: