Skip to content

Commit 7350742

Browse files
committed
all the find commans are failing, but it looks like the python binary in helloWorld.app/Contents/Resources/python comes from the Kivy.app dir, which is setup earlier in my build script using pyenv. Let's check those md5s out referencing them specificially
1 parent 48fc75f commit 7350742

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

build/mac/buildDmg.sh

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ echo "INFO: list of python* in /usr/local/bin/"
5555
ls -lah /usr/local/bin/python*
5656
find /usr/local/bin -type f -name python | xargs --version
5757
find /usr/local/bin -type f -name python3 | xargs --version
58-
md5 /usr/bin/python*
58+
md5 /usr/local/bin/python*
5959

6060
###################
6161
# INSTALL DEPENDS #
@@ -261,6 +261,7 @@ popd
261261
# buildozer should now be able to build our .app file
262262
buildozer osx debug
263263

264+
# TODO: remove this after you fix the python binary issues
264265
echo "INFO: list of python binaries in the new .app dir"
265266
find /Users/runner/runners/2.263.0/work/cross-platform-python-gui/ -type f -name python
266267
find /Users/runner/runners/2.263.0/work/cross-platform-python-gui/ -type f -name python | xargs --version
@@ -276,6 +277,17 @@ find /Users/runner/runners/2.263.0/work/cross-platform-python-gui/ -type f -name
276277
# remove unnecessary libs
277278
pushd .buildozer/osx/platform/kivy-sdk-packager-master/osx
278279

280+
# TODO: remove this after you fix the python binary issues
281+
ls -lah Kivy.app/Contents/Resources/
282+
ls -lah Kivy.app/Contents/Resources/python
283+
ls -lah Kivy.app/Contents/Resources/venv/bin/
284+
ls -lah Kivy.app/Contents/Resources/venv/bin/python
285+
ls -lah Kivy.app/Contents/Frameworks/python/3.7.3/bin/
286+
ls -lah Kivy.app/Contents/Frameworks/python/3.7.3/bin/python
287+
ls -lah Kivy.app/Contents/Frameworks/python/3.7.3/bin/python3.7
288+
md5 Kivy.app/Contents/Frameworks/python/3.7.3/bin/python3.7
289+
Kivy.app/Contents/Frameworks/python/3.7.3/bin/python3.7 --version
290+
279291
# GStreamer is the easiest; ~150M gone
280292
rm -rf "${APP_NAME}.app/Contents/Frameworks/GStreamer.framework"
281293

0 commit comments

Comments
 (0)