Merge "cache the pip tarball"
This commit is contained in:
commit
31f7475baf
@ -71,12 +71,13 @@ function install_get_pip {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function install_pip_tarball {
|
function install_pip_tarball {
|
||||||
(cd $FILES; \
|
if [[ ! -r $FILES/pip-$INSTALL_PIP_VERSION.tar.gz ]]; then
|
||||||
curl -O $PIP_TAR_URL; \
|
(cd $FILES; \
|
||||||
tar xvfz pip-$INSTALL_PIP_VERSION.tar.gz 1>/dev/null; \
|
curl -O $PIP_TAR_URL; \
|
||||||
cd pip-$INSTALL_PIP_VERSION; \
|
tar xvfz pip-$INSTALL_PIP_VERSION.tar.gz 1>/dev/null)
|
||||||
sudo -E python setup.py install 1>/dev/null; \
|
fi
|
||||||
)
|
(cd $FILES/pip-$INSTALL_PIP_VERSION; \
|
||||||
|
sudo -E python setup.py install 1>/dev/null)
|
||||||
}
|
}
|
||||||
|
|
||||||
# Show starting versions
|
# Show starting versions
|
||||||
|
Loading…
Reference in New Issue
Block a user