1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2024-11-24 19:10:10 +01:00

only run pip if there is a virtualenv currently activated and cache pip-installed packages

This commit is contained in:
Matthias Kretschmann 2014-11-11 15:49:28 +01:00
parent 9b3c4dbd14
commit 0b56b5ec2e

View File

@ -8,3 +8,8 @@ export LANG="en_US"
# LSCOLORS # LSCOLORS
export CLICOLOR=1 export CLICOLOR=1
export LSCOLORS=gxfxcxdxbxegedabagacad export LSCOLORS=gxfxcxdxbxegedabagacad
# pip should only run if there is a virtualenv currently activated
export PIP_REQUIRE_VIRTUALENV=true
# cache pip-installed packages to avoid re-downloading
export PIP_DOWNLOAD_CACHE=$HOME/.pip/cache