Created
January 2, 2014 17:01
-
-
Save chintak/8222397 to your computer and use it in GitHub Desktop.
Save to ``~/Documents/venv/``
Add ``alias newvirtualenv="source ~/Documents/venv/new_env.sh $1"`` to ~/.bash_profile.
Invoke it using:
``newvirtualenv ENV_NAME``
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
mkvirtualenv $1 | |
ln -ns ~/Documents/venv/dev_pack2/lib/python2.7/site-packages/* ~/Documents/venv/$1/lib/python2.7/site-packages | |
# Ipython installtion | |
ln -s ~/Documents/venv/dev_pack2/bin/i* ~/Documents/venv/$1/bin/ | |
# ln -s ~/Documents/venv/dev_pack2/lib/python2.7/site-packages/IPython ~/Documents/venv/$1/lib/python2.7/site-packages/ | |
# Nosetests installtion | |
ln -s ~/Documents/venv/dev_pack2/bin/nose* ~/Documents/venv/$1/bin/ | |
# Sphinx installtion | |
ln -s ~/Documents/venv/dev_pack2/bin/rst* ~/Documents/venv/$1/bin/ | |
ln -s ~/Documents/venv/dev_pack2/bin/sphinx* ~/Documents/venv/$1/bin/ | |
# Cython installtion | |
ln -s ~/Documents/venv/dev_pack2/bin/cy* ~/Documents/venv/$1/bin/ | |
# Pygments installtion | |
ln -s ~/Documents/venv/dev_pack2/bin/pycolor ~/Documents/venv/$1/bin/ | |
ln -s ~/Documents/venv/dev_pack2/bin/pygmentize ~/Documents/venv/$1/bin/ | |
# f2py for Fortran to Python - Numpy | |
ln -s ~/Documents/venv/dev_pack2/bin/f2py ~/Documents/venv/$1/bin/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save to
~/Documents/venv/
Add
alias newvirtualenv="source ~/Documents/venv/new_env.sh $1"
to ~/.bash_profile.Invoke it using:
newvirtualenv ENV_NAME