7d82ec7308
Attempts to fix #951197 The openstack nose plugin defines the openstack.common namespace which can result in exceptions when update.py attempts to import cfg. Avoid the issue by using an update.sh script which creates a no-site-packages virtualenv. Change-Id: I1ec5cf49361303b79306714122b860f6e4912215
14 lines
223 B
Bash
Executable File
14 lines
223 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Make some coffee and read https://code.launchpad.net/bugs/951197
|
|
|
|
VENV=.update-venv
|
|
|
|
[ -d $VENV ] || virtualenv -q --no-site-packages $VENV
|
|
|
|
. $VENV/bin/activate
|
|
|
|
python setup.py install
|
|
|
|
python update.py $*
|