Moved python-nose into pip config and modified keystone_client and
nova_client to pick up general.json from pips.
This commit is contained in:
parent
4157c2b856
commit
05c438c89f
@ -8,6 +8,9 @@
|
||||
"coverage": {
|
||||
"version": "3.5.1"
|
||||
},
|
||||
"nose": {
|
||||
"version": "1.0.0"
|
||||
},
|
||||
"mock": {
|
||||
"version": "0.8.0"
|
||||
}
|
||||
|
@ -210,13 +210,6 @@
|
||||
"version": "2.6*",
|
||||
"removable": false
|
||||
},
|
||||
"python-nose1.1": {
|
||||
"version": "1.1*",
|
||||
"removable": true,
|
||||
"meta": {
|
||||
"epel" : true
|
||||
}
|
||||
},
|
||||
"python-mox": {
|
||||
"version": "0.5.3*",
|
||||
"removable": true,
|
||||
|
@ -24,6 +24,7 @@ LOG = logging.getLogger("devstack.components.keystone_client")
|
||||
|
||||
#the pkg json files keystone client requires for installation
|
||||
REQ_PKGS = ['general.json', 'keystone-client.json']
|
||||
REQ_PIPS = ['general.json']
|
||||
|
||||
|
||||
class KeyStoneClientUninstaller(comp.PythonUninstallComponent):
|
||||
@ -46,6 +47,9 @@ class KeyStoneClientInstaller(comp.PythonInstallComponent):
|
||||
def _get_pkgs(self):
|
||||
return list(REQ_PKGS)
|
||||
|
||||
def _get_pips(self):
|
||||
return list(REQ_PIPS)
|
||||
|
||||
|
||||
class KeyStoneClientRuntime(comp.EmptyRuntime):
|
||||
def __init__(self, *args, **kargs):
|
||||
|
@ -24,6 +24,7 @@ LOG = logging.getLogger("devstack.components.nova_client")
|
||||
|
||||
#the pkg json files nova client requires for installation
|
||||
REQ_PKGS = ['general.json', 'nova-client.json']
|
||||
REQ_PIPS = ['general.json']
|
||||
|
||||
|
||||
class NovaClientUninstaller(comp.PythonUninstallComponent):
|
||||
@ -46,6 +47,9 @@ class NovaClientInstaller(comp.PythonInstallComponent):
|
||||
def _get_pkgs(self):
|
||||
return list(REQ_PKGS)
|
||||
|
||||
def _get_pips(self):
|
||||
return list(REQ_PIPS)
|
||||
|
||||
|
||||
class NovaClientRuntime(comp.EmptyRuntime):
|
||||
def __init__(self, *args, **kargs):
|
||||
|
Loading…
Reference in New Issue
Block a user