97bc5d7853
Using a custom pypi mirror can be very convenient, making image builds substantially faster - because we create multiple virtual environments we benefit more than single-virtualenv users would. Change-Id: I997daf1f9477c447e1fb30818aea9e80a49b31a6
16 lines
231 B
Bash
Executable file
16 lines
231 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
if [ -e ~/.pip/pip.conf.orig ]; then
|
|
mv ~/.pip/pip.conf{.orig,}
|
|
else
|
|
rm ~/.pip/pip.conf
|
|
fi
|
|
|
|
|
|
if [ -e ~/.pydistutils.cfg.orig ]; then
|
|
mv ~/.pydistutils.cfg{.orig,}
|
|
else
|
|
rm ~/.pydistutils.cfg
|
|
fi
|