Skip to content

Instantly share code, notes, and snippets.

@MikeVelazcoMtz
Created May 29, 2015 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MikeVelazcoMtz/7a84f0e574db62d3eb08 to your computer and use it in GitHub Desktop.
Save MikeVelazcoMtz/7a84f0e574db62d3eb08 to your computer and use it in GitHub Desktop.
Virtualenvwrapper Config
# This config works for linux and OS X
# you need install previously virtualenvwrapper
#
# WITH PIP: sudo pip install virtualenvwrapper
# WITH EASY INSTALL: sudo easy_install virtualenvwrapper
#
# You need, to copy the content of this file inside of:
#
# LINUX : .bashrc
# OS X: .bash_profile
# ensure all new environments are isolated from the site-packages directory
export VIRTUALENVWRAPPER_VIRTUALENV_ARGS='--no-site-packages'
# use the same directory for virtualenvs as virtualenvwrapper
export PIP_VIRTUALENV_BASE=$WORKON_HOME
# makes pip detect an active virtualenv and install to it
export PIP_RESPECT_VIRTUALENV=true
if [[ -r /usr/local/bin/virtualenvwrapper.sh ]]; then
source /usr/local/bin/virtualenvwrapper.sh
else
echo "WARNING: Can't find virtualenvwrapper.sh"
fi
@DonaldDai
Copy link

Is that end? and I want to know how can I copy the content of virtualenvwrapper's file inside of .bash_profile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment