Add missing dependency for uritemplates.
Fixes issue #247.
diff --git a/setup.py b/setup.py
index 7528ee5..45bd0ae 100644
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,6 @@
packages = [
'apiclient',
'oauth2client',
- 'uritemplate',
]
install_requires = [
@@ -30,14 +29,12 @@
'python-gflags',
]
-needs_json = True
+needs_json = False
try:
import json
- needs_json = False
except ImportError:
try:
import simplejson
- needs_json = False
except ImportError:
needs_json = True
diff --git a/setup_oauth2client.py b/setup_oauth2client.py
index 0c08382..e67377d 100644
--- a/setup_oauth2client.py
+++ b/setup_oauth2client.py
@@ -21,6 +21,7 @@
packages = [
'oauth2client',
+ 'uritemplate',
]
install_requires = [
@@ -28,14 +29,12 @@
'python-gflags',
]
-needs_json = True
+needs_json = False
try:
import json
- needs_json = False
except ImportError:
try:
import simplejson
- needs_json = False
except ImportError:
needs_json = True