2013-10-21 03:44:57 -07:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
|
|
|
|
keep_alive
|
|
|
|
|
|
|
|
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
|
|
|
|
"--opengl") $BASEDIR/py/opengl ;;
|
2013-11-30 09:55:05 -08:00
|
|
|
"--sfml")
|
|
|
|
sudo easy_install cython
|
|
|
|
$BASEDIR/py/sfml
|
|
|
|
;;
|
|
|
|
"--fabric")
|
|
|
|
pip install Jinja2
|
|
|
|
$BASEDIR/py/fabric
|
|
|
|
;;
|
2013-10-21 03:44:57 -07:00
|
|
|
esac
|
|
|
|
shift
|
|
|
|
done
|
|
|
|
|
|
|
|
echo_g "==> Python: Done!"
|