Skip to content

Instantly share code, notes, and snippets.

@joestump
Created September 4, 2009 17:48
Show Gist options
  • Save joestump/181004 to your computer and use it in GitHub Desktop.
Save joestump/181004 to your computer and use it in GitHub Desktop.
# Create a new PYTHONPATH using all of the packages
# that have been checked out into $HOME/dev
_NEW_PATH=""
for i in `ls $HOME/dev`
do
_NEW_PATH="$_NEW_PATH:$HOME/dev/$i"
done
export PYTHONPATH="${_NEW_PATH:1}:$PYTHONPATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment