diff setup.py @ 47:11249e75ced6

allow more than one template path
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 13 Aug 2012 15:41:32 -0700
parents fcd98303a90d
children 0f5c22c07146
line wrap: on
line diff
--- a/setup.py	Mon Aug 13 15:14:53 2012 -0700
+++ b/setup.py	Mon Aug 13 15:41:32 2012 -0700
@@ -7,6 +7,11 @@
 version = "0.0"
 dependencies = ['webob', 'CommandParser', 'talos', 'buildbot', 'PyYAML']
 
+try:
+    import json
+except ImportError:
+    dependencies.append('simplejson')
+
 # allow use of setuptools/distribute or distutils
 kw = {}
 try: