2020-09-20 10:18:41 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-09-20 18:17:14 -04:00
|
|
|
# init user specific pip modules
|
|
|
|
python3 -m pip install --upgrade --user pip setuptools virtualenv
|
|
|
|
|
|
|
|
# init venv dir
|
2020-09-20 10:18:41 -04:00
|
|
|
python3 -m virtualenv venv
|
2020-09-20 18:17:14 -04:00
|
|
|
|
|
|
|
# exec inside the venv
|
2020-09-20 10:18:41 -04:00
|
|
|
source venv/bin/activate
|
2020-09-20 20:28:51 -04:00
|
|
|
if [ $1 == "pre" ]; then
|
|
|
|
pip install kivy[base] kivy_examples --pre --extra-index-url https://kivy.org/downloads/simple/
|
|
|
|
fi
|
2020-09-20 18:42:24 -04:00
|
|
|
pip install --upgrade cython buildozer
|
2020-09-20 10:18:41 -04:00
|
|
|
pip install -r requierments.txt
|
2020-09-20 18:17:14 -04:00
|
|
|
echo " "
|
|
|
|
pip freeze
|