2013-08-29 14:49:59 -07:00
|
|
|
# vim: set ft=zsh:
|
|
|
|
# Eryn Wells <eryn@erynwells.me>
|
|
|
|
|
2018-07-19 10:08:31 -07:00
|
|
|
pythonroot="$HOME/Library/Python"
|
|
|
|
if [[ -d "$pythonroot" ]]; then
|
|
|
|
for f in `ls "$pythonroot"`; do
|
|
|
|
prepend-to-path "$pythonroot/$f/bin"
|
|
|
|
done
|
|
|
|
fi
|
2015-01-03 18:36:35 -08:00
|
|
|
prepend-to-path "/usr/local/go/bin"
|
2013-08-30 09:21:49 -07:00
|
|
|
|
2018-07-19 10:08:31 -07:00
|
|
|
py27local="$pythonroot/2.7/lib/python/site-packages"
|
2013-08-30 09:21:49 -07:00
|
|
|
if [[ -d "$py27local" ]]; then
|
|
|
|
if [[ ! -z $PYTHONPATH ]]; then
|
|
|
|
PYTHONPATH=$py27local:$PYTHONPATH
|
|
|
|
else
|
|
|
|
PYTHONPATH=$py27local
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
unset py27local
|
2018-07-19 10:08:31 -07:00
|
|
|
unset pythonroot
|
2013-08-30 09:21:49 -07:00
|
|
|
export PYTHONPATH
|