Handle distribute -> setuptools migration.
Running just 'pip install -U distribute' can leave setuptools in a half migrated state on Fedora/RHEL/CentOS. Following it up with 'pip install -U setuptools' corrects the problem and leaves you with distribute 0.7.3 and the latest setuptools. Change-Id: I3652e84fcfdc39065b6b86fc85b6b6602601d7e9
This commit is contained in:
parent
3482706b3a
commit
c0dc6a6534
|
@ -5,7 +5,9 @@ set -eux
|
|||
install-packages python-pip libmysqlclient-dev
|
||||
|
||||
pip install -U distribute # required by virtualenv
|
||||
pip install virtualenv
|
||||
# required to ensure clean distribute -> setuptools migration
|
||||
pip install -U setuptools
|
||||
pip install -U virtualenv
|
||||
|
||||
install -m 0755 -o root -g root $(dirname $0)/../bin/os-svc-install /usr/local/bin/os-svc-install
|
||||
install -m 0755 -o root -g root $(dirname $0)/../bin/os-svc-daemon /usr/local/bin/os-svc-daemon
|
||||
|
|
Loading…
Reference in New Issue