Skip to content

Instantly share code, notes, and snippets.

@jbalogh
Forked from fwenzel/postactivate
Created August 19, 2010 04:08
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbalogh/536998 to your computer and use it in GitHub Desktop.
Save jbalogh/536998 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Sets ~site_packages and tries to `cd ~/dev/<virtualenv`.
site_packages=$(virtualenvwrapper_get_site_packages_dir)
PROJECT=`basename $VIRTUAL_ENV`
DIR="$HOME/dev/$PROJECT"
if [ -d $DIR ]; then
cd $DIR
fi
unset DIR
#!/bin/sh
# Automatically installs IPython in every virtualenv.
# Make sure you `chmod +x`.
$1/bin/pip install -i 'http://people.mozilla.org/~jbalogh/pypi' ipython
@sooothooot999
Copy link

kodi

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