Skip to content

Instantly share code, notes, and snippets.

@rogeriopradoj
Created May 2, 2013 11:22
Show Gist options
  • Save rogeriopradoj/5501591 to your computer and use it in GitHub Desktop.
Save rogeriopradoj/5501591 to your computer and use it in GitHub Desktop.
Python e Virtualenv no Mac OS X Mountain Lion 10.8: Virtualenv, passo 4
# virtualenv should use Distribute instead of legacy setuptools
export VIRTUALENV_DISTRIBUTE=true
# Centralized location for new virtual environments
export PIP_VIRTUALENV_BASE=$HOME/Virtualenvs
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment