Merge "Allow user to override pip cache location"

This commit is contained in:
Jenkins
2012-07-16 15:59:46 +00:00
committed by Gerrit Code Review

View File

@@ -458,7 +458,7 @@ function pip_install {
else
CMD_PIP=/usr/bin/pip-python
fi
sudo PIP_DOWNLOAD_CACHE=/var/cache/pip \
sudo PIP_DOWNLOAD_CACHE=${PIP_DOWNLOAD_CACHE:-/var/cache/pip} \
HTTP_PROXY=$http_proxy \
HTTPS_PROXY=$https_proxy \
$CMD_PIP install --use-mirrors $@