From 0b56b5ec2e66f2b78d9f4119b71db273382ff8f2 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 11 Nov 2014 15:49:28 +0100 Subject: [PATCH] only run pip if there is a virtualenv currently activated and cache pip-installed packages --- exports | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/exports b/exports index 552d5b4..4e31f27 100644 --- a/exports +++ b/exports @@ -7,4 +7,9 @@ export LANG="en_US" # LSCOLORS export CLICOLOR=1 -export LSCOLORS=gxfxcxdxbxegedabagacad \ No newline at end of file +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 \ No newline at end of file