27 lines
495 B
Bash
Executable file
27 lines
495 B
Bash
Executable file
#!/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 ;;
|
|
"--sfml")
|
|
sudo easy_install cython
|
|
$BASEDIR/py/sfml
|
|
;;
|
|
"--fabric")
|
|
pip install Jinja2
|
|
$BASEDIR/py/fabric
|
|
;;
|
|
esac
|
|
shift
|
|
done
|
|
|
|
echo_g "==> Python: Done!"
|