globalforest/setup_venv.sh

18 lines
424 B
Bash
Raw Permalink Normal View History

2020-09-20 10:18:41 -04:00
#!/bin/bash
# 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
# exec inside the venv
2020-09-20 10:18:41 -04:00
source venv/bin/activate
if [ $1 == "pre" ]; then
pip install kivy[base] kivy_examples --pre --extra-index-url https://kivy.org/downloads/simple/
fi
pip install --upgrade cython buildozer
2020-09-20 10:18:41 -04:00
pip install -r requierments.txt
echo " "
pip freeze