summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2012-04-11 09:36:11 -0400
committerDan Prince <dprince@redhat.com>2012-04-11 11:13:27 -0400
commit6489b23c9304e4e20e871a20ae6c3bb54a710507 (patch)
treef11ef711faeecbd9d2597098061ef89655f9addc
parente7ebcf34c13e33811e20d8dca1c5e8e7af3ea4ca (diff)
Remove python-novaclient dependency from nova.
Nova should not depend on python-novaclient. Remove it. Note: In order to get unit tests to pass I had to add in a temporary dependency on httplib2. This is due to the fact that pip installing glance does not properly setup all the dependencies. See LP Bug #975483 for details. Fixes LP Bug #978992. Change-Id: I50c00139f9dc303223601230fd962abac977cd5e
-rw-r--r--nova/compute/api.py1
-rw-r--r--nova/exception.py1
-rw-r--r--tools/pip-requires2
3 files changed, 1 insertions, 3 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py
index d5d7723fa..aa584dba5 100644
--- a/nova/compute/api.py
+++ b/nova/compute/api.py
@@ -24,7 +24,6 @@ import functools
import re
import time
-import novaclient
import webob.exc
from nova import block_device
diff --git a/nova/exception.py b/nova/exception.py
index 3f649f5c2..5fa9e0c87 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -27,7 +27,6 @@ SHOULD include dedicated exception logging.
import functools
import sys
-import novaclient.exceptions
import webob.exc
from nova import log as logging
diff --git a/tools/pip-requires b/tools/pip-requires
index aa5cbe782..502b83a49 100644
--- a/tools/pip-requires
+++ b/tools/pip-requires
@@ -8,7 +8,6 @@ kombu==1.0.4
lockfile==0.8
lxml==2.3
python-daemon==1.5.5
-python-novaclient
routes==1.12.3
WebOb==1.0.8
wsgiref==0.1.2
@@ -24,3 +23,4 @@ feedparser
pycrypto
Babel>=0.9.6
iso8601>=0.1.4
+httplib2