Merge "Allow user to override pip cache location"
This commit is contained in:
commit
b5a1f92b49
@ -458,7 +458,7 @@ function pip_install {
|
|||||||
else
|
else
|
||||||
CMD_PIP=/usr/bin/pip-python
|
CMD_PIP=/usr/bin/pip-python
|
||||||
fi
|
fi
|
||||||
sudo PIP_DOWNLOAD_CACHE=/var/cache/pip \
|
sudo PIP_DOWNLOAD_CACHE=${PIP_DOWNLOAD_CACHE:-/var/cache/pip} \
|
||||||
HTTP_PROXY=$http_proxy \
|
HTTP_PROXY=$http_proxy \
|
||||||
HTTPS_PROXY=$https_proxy \
|
HTTPS_PROXY=$https_proxy \
|
||||||
$CMD_PIP install --use-mirrors $@
|
$CMD_PIP install --use-mirrors $@
|
||||||
|
Loading…
Reference in New Issue
Block a user