File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,10 @@ ${PYTHON_PATH} -m pip install --upgrade --user pip setuptools
5858# ${PYTHON_PATH} -m virtualenv /tmp/kivy_venv
5959
6060# install kivy and all other python dependencies with pip into our virtual env
61- # source /tmp/kivy_venv/bin/activate; python -m pip install -r requirements.txt
61+ # source /tmp/kivy_venv/bin/activate
62+ ${PYTHON_PATH} -m pip install -r requirements.txt
63+
64+ kivyVersion=" ` ${PYTHON_PATH} -m pip list | grep -i ' kivy ' | awk ' {print $2}' ` "
6265
6366# install buildozer
6467${PYTHON_PATH} -m pip install --upgrade git+http://github.com/kivy/buildozer
@@ -200,7 +203,7 @@ rm -Rf Kivy3.dmg
200203sed -i ' ' " s;3.5.0;$PYTHON_VERSION ;g" create-osx-bundle.sh
201204sed -i ' ' " s;python3.5;$PYTHON_EXEC_VERSION ;g" create-osx-bundle.sh
202205sed -i ' ' " s;rm {};rm -f {};g" create-osx-bundle.sh
203- ./create-osx-bundle.sh python3
206+ ./create-osx-bundle.sh ${kivyVersion} ${PYTHON_VERSION}
204207# Repair symlink
205208pushd Kivy.app/Contents/Resources/venv/bin/
206209rm ./python3
You can’t perform that action at this time.
0 commit comments