Skip to content

Commit 8d5ac3e

Browse files
committed
forgot to update the create-osx-bundle.sh arguments, which apparently changed syntax since this github issue kivy/buildozer#494
1 parent d1bd42c commit 8d5ac3e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build/mac/buildDmg.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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
200203
sed -i '' "s;3.5.0;$PYTHON_VERSION;g" create-osx-bundle.sh
201204
sed -i '' "s;python3.5;$PYTHON_EXEC_VERSION;g" create-osx-bundle.sh
202205
sed -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
205208
pushd Kivy.app/Contents/Resources/venv/bin/
206209
rm ./python3

0 commit comments

Comments
 (0)