Skip to content

Instantly share code, notes, and snippets.

@jbalogh
Forked from fwenzel/postactivate
Created November 14, 2009 01:06
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 jbalogh/234321 to your computer and use it in GitHub Desktop.
Save jbalogh/234321 to your computer and use it in GitHub Desktop.
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
BIN=$1/bin
$BIN/easy_install -Z pip
$BIN/pip install -i 'http://people.mozilla.org/~jbalogh/pypi' ipython
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment