Skip to content

Instantly share code, notes, and snippets.

@fwenzel
Created November 14, 2009 00:46
Show Gist options
  • Save fwenzel/234301 to your computer and use it in GitHub Desktop.
Save fwenzel/234301 to your computer and use it in GitHub Desktop.
virtualenvwrapper scripts
#!/bin/bash
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