diff --git a/README.md b/README.md index 16e24f9..8361bb0 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,11 @@ A map-based social gardening -setup_packages.sh - install ubuntu system package requierments -setup_venv.sh - prepares the virtual environemnt and install pip modules in it +`./setup_packages.sh` - install ubuntu system package requierments +`./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 -cleanup.sh - removes the work dirs from the local repo +`./build.sh` - run buildozer inside the virtual env to build and deploy +`./cleanup.sh` - removes the work dirs from the local repo diff --git a/setup_venv.sh b/setup_venv.sh index 76c3801..47fa61c 100755 --- a/setup_venv.sh +++ b/setup_venv.sh @@ -8,6 +8,9 @@ python3 -m virtualenv venv # exec inside the venv 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 -r requierments.txt echo " "