Get devstack ready for PY35
Change-Id: Iebc17346ab3c144d48c9d7b9b6dbe1eecbb6cc99
This commit is contained in:
parent
ede4d1e376
commit
7462ed773c
@ -40,15 +40,18 @@ function install_neutron_projects {
|
||||
else
|
||||
pkg_renamed=`echo $pkg | sed 's/-/_/g'`
|
||||
sudo rm -rf /usr/local/lib/python2.7/dist-packages/${pkg_renamed}*
|
||||
sudo rm -rf /usr/local/lib/python3.5/dist-packages/${pkg_renamed}*
|
||||
sudo rm -rf ./src/${pkg_renamed}*
|
||||
sudo pip install -e "git+https://git.openstack.org/openstack/${pkg}#egg=${pkg_renamed}"
|
||||
sudo chown -R ${USER}:${USER} src/${pkg}
|
||||
fi
|
||||
done
|
||||
sudo rm -rf /usr/local/lib/python2.7/dist-packages/neutron
|
||||
sudo rm -rf /usr/local/lib/python2.7/dist-packages/neutron.egg*
|
||||
sudo pip install -e "git+https://git.openstack.org/openstack/neutron#egg=neutron"
|
||||
sudo chown -R ${USER}:${USER} src/neutron
|
||||
sudo rm -rf /usr/local/lib/python2.7/dist-packages/neutron.egg*
|
||||
sudo rm -rf /usr/local/lib/python3.5/dist-packages/neutron
|
||||
sudo rm -rf /usr/local/lib/python3.5/dist-packages/neutron.egg*
|
||||
sudo pip install -e "git+https://git.openstack.org/openstack/neutron#egg=neutron"
|
||||
sudo chown -R ${USER}:${USER} src/neutron
|
||||
}
|
||||
|
||||
function nsxv_configure_service {
|
||||
|
Loading…
x
Reference in New Issue
Block a user