Move PYTHONPATH creation to env.* files

This commit is contained in:
Eryn Wells 2012-04-23 15:02:25 -07:00
parent b661804452
commit 9bd3f7bc50
2 changed files with 8 additions and 8 deletions

View file

@ -6,3 +6,11 @@
# Eryn Wells <eryn@erynwells.me>
export PATH=$HOME/Library/Python/2.7/bin:$PATH
local py27local=$HOME/Library/Python/2.7/lib/python/site-packages
if [[ ! -z $PYTHONPATH ]]; then
[ -d $py27local ] && PYTHONPATH=$py27local:$PYTHONPATH
else
PYTHONPATH=$py27local
fi
export PYTHONPATH