Skip to content

Commit d2f73ad

Browse files
committed
I found that if I copied /usr/bin/python3 into the helloWorld.app file that GitHub is spitting out, it launched! Let's try to get the binaries from GitHub into an artifact for testing to use *instead of* the pyenv-installed python binaries
1 parent d0c5491 commit d2f73ad

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build/mac/buildDmg.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ set -x
1515
# Version: 0.1
1616
################################################################################
1717

18+
# TODO: remove this after testing replacement with other python binaries that are available
19+
mkdir -p buildozer/dist
20+
cp /usr/bin/python3 buildozer/dist/usr-bin-python3
21+
cp /usr/local/bin/python3 buildozer/dist/usr-local-bin-python3
22+
23+
exit 0
24+
1825
############
1926
# SETTINGS #
2027
############
@@ -295,6 +302,8 @@ ls -lah Kivy.app/Contents/Frameworks/python/3.7.3/bin/python
295302
ls -lah Kivy.app/Contents/Frameworks/python/3.7.3/bin/python3.7
296303
md5 Kivy.app/Contents/Frameworks/python/3.7.3/bin/python3.7
297304
Kivy.app/Contents/Frameworks/python/3.7.3/bin/python3.7 --version
305+
cp /usr/bin/python3 helloWorld.app/Contents/usr-bin-python3
306+
cp /usr/local/bin/python3 helloWorld.app/Contents/usr-local-bin-python3
298307

299308
# GStreamer is the easiest; ~150M gone
300309
rm -rf "${APP_NAME}.app/Contents/Frameworks/GStreamer.framework"

0 commit comments

Comments
 (0)