helm/install/python

32 lines
579 B
Plaintext
Raw Normal View History

2013-10-21 03:44:57 -07:00
#!/usr/bin/env zsh
keep_alive
2013-11-30 10:21:15 -08:00
BASEDIR=$(dirname "$0")
2013-10-21 03:44:57 -07:00
echo_g "==> Python: Trying to install Python"
pkg_install python
echo_g "==> Python: Installing plugins"
sudo easy_install pip
while [ $# -gt 0 ]; do
case "$1" in
2013-12-01 13:25:59 -08:00
"--opengl")
$BASEDIR/py/opengl
;;
"--sfml")
sudo easy_install cython
$BASEDIR/py/sfml
;;
"--fabric")
pip install Jinja2
2013-12-01 13:25:59 -08:00
pip install fabtools
$BASEDIR/py/fabric
;;
2013-10-21 03:44:57 -07:00
esac
shift
done
echo_g "==> Python: Done!"