Skip to content

Instantly share code, notes, and snippets.

@jbalogh

jbalogh/postactivate

Forked from fwenzel/postactivate
Created Aug 19, 2010
Embed
What would you like to do?
#!/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

This comment has been minimized.

Copy link

@sooothooot999 sooothooot999 commented Jan 14, 2021

kodi

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