Created
May 29, 2015 18:31
-
-
Save MikeVelazcoMtz/7a84f0e574db62d3eb08 to your computer and use it in GitHub Desktop.
Virtualenvwrapper Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is that end? and I want to know how can I copy the content of virtualenvwrapper's file inside of .bash_profile