use Kivy 2.0.0rc3 when we have python 3.8

This commit is contained in:
Daniel afx 2020-09-21 03:28:51 +03:00
parent 6bba388c6a
commit a181b1cce6
2 changed files with 9 additions and 5 deletions

View file

@ -2,10 +2,11 @@
A map-based social gardening A map-based social gardening
setup_packages.sh - install ubuntu system package requierments `./setup_packages.sh` - install ubuntu system package requierments
setup_venv.sh - prepares the virtual environemnt and install pip modules in it `./setup_venv.sh` - prepares the virtual environemnt and install pip modules in it
`./setup_venv.sh pre` - same as above, for `python 3.8` in `ubuntu 20.04` where we cannot use the stable `kivy 1.11.1` yet
source venv/bin/activate - enter the virtual environment `source venv/bin/activate` - enter the virtual environment
build.sh - run buildozer inside the virtual env to build and deploy `./build.sh` - run buildozer inside the virtual env to build and deploy
cleanup.sh - removes the work dirs from the local repo `./cleanup.sh` - removes the work dirs from the local repo

View file

@ -8,6 +8,9 @@ python3 -m virtualenv venv
# exec inside the venv # exec inside the venv
source venv/bin/activate 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 pip install --upgrade cython buildozer
pip install -r requierments.txt pip install -r requierments.txt
echo " " echo " "