]> arthur.barton.de Git - OhMyZshExtensions.git/commitdiff
"5_dev_env": Don't set PIP_DOWNLOAD_CACHE any more
authorAlexander Barton <alex@barton.de>
Wed, 27 May 2015 18:20:54 +0000 (20:20 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 27 May 2015 18:21:07 +0000 (20:21 +0200)
Since pip 6.0, "PIP_DOWNLOAD_CACHE" is deprecated and will be ignored:
pip now respects the "XDG_CACHE_HOME" environment variable on its own.

See <https://pip.pypa.io/en/stable/reference/pip_install.html#caching>.

plugins/5_dev_env/5_dev_env.plugin.zsh

index 8ba7a97fcef09bb086837ac496b878b4fa588f78..a52aed1381e9bdd9d4fa798a2b718be6cdbb10a0 100644 (file)
@@ -17,7 +17,6 @@ unset ssh_wrapper
 
 # pip
 export PIP_REQUIRE_VIRTUALENV="true"
-export PIP_DOWNLOAD_CACHE="$XDG_CACHE_HOME/pip"
 
 # virtualenv[wrapper]
 export WORKON_HOME="$XDG_CACHE_HOME/virtualenvs"