Add wheel mirror structure awareness
We are going to start having wheels in the gate. Having them there should not break folks who are not using wheels. Don't start actually consuming wheels yet, but add awareness about the wheel structure to the pypi config. Change-Id: Id29bb1bb31fc1647f8e1ea00bab487e447ba2838
This commit is contained in:
parent
b3bc1a9851
commit
6f455d9a36
|
@ -62,6 +62,10 @@ mirrors:
|
|||
output: $pypidir
|
||||
EOF
|
||||
|
||||
# wheel mirrors are below a dir level containing distro and release
|
||||
# because the wheel format itself does not distinguish
|
||||
distro=`lsb_release -i -r -s | xargs | tr ' ' '-'`
|
||||
|
||||
# PROJECTS is a list of projects that we're testing
|
||||
PROJECTS=$*
|
||||
|
||||
|
@ -91,6 +95,7 @@ EOF
|
|||
cat <<EOF > ~/.pip/pip.conf
|
||||
[global]
|
||||
index-url = $pypiurl
|
||||
extra-index-url = $pypiurl/$distro
|
||||
extra-index-url = http://pypi.openstack.org/openstack
|
||||
log = $HOME/pip.log
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue