How to deliver a Mac App bundle

29 views
Skip to first unread message

Chris Barker

unread,
Jul 27, 2024, 2:12:42 AM7/27/24
to pyins...@googlegroups.com
I've got my app building, and it runs on my machine, but I've been struggling with how to deliver it.

If I put it on a disk image, the image ends up being twice as big as the app bundle, and then when unpacked, one of my colleagues got a broken, and 1.5GB result!

So weird.

This was not a problem with one I build a year ago -- did PyInstaller change, or did the Mac's disk image code change?? Who knows?

Then It tried zipping it up, and it also ended up HUGE.

It turns out I needed to use the -y flag so that it wouldn't duplicate symlinks -- the bundle has a lot of internal symlinks.

Now I got it to zip up, and unzip to the same size and run on my machine.

Yet to see if it will run on anyone else's machine though ...

Does anyone have a recommended practice?

Thanks,
-CHB







--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris....@noaa.gov

bwoodsend

unread,
Jul 27, 2024, 2:45:52 AM7/27/24
to PyInstaller

Does this answer you question?

Chris Barker

unread,
Jul 29, 2024, 12:50:17 PM7/29/24
to pyins...@googlegroups.com
On Fri, Jul 26, 2024 at 11:46 PM bwoodsend <bwoo...@gmail.com> wrote:

Does this answer you question?

mostly -- yes -- I really need to learn to read the docs before I mess around with stuff myself!

However, I'll do some experiments with making a disk image, and using the Mac UI to create a zipfile -- and let you know if I have any suggested updates to the docs.

Thanks,
-CHB


 

--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/82caf4b2-f88c-4a6c-b4c0-baf3fffca4ffn%40googlegroups.com.

Chris Barker

unread,
Jul 29, 2024, 1:07:18 PM7/29/24
to pyins...@googlegroups.com
On Mon, Jul 29, 2024 at 9:49 AM Chris Barker <chris....@noaa.gov> wrote:
On Fri, Jul 26, 2024 at 11:46 PM bwoodsend <bwoo...@gmail.com> wrote:

Does this answer you question?

Did some more testing, and, indeed -- that totally answered my questions -- turn out I had done an (incorrect) copy before making the disk image -- thus my bloat.

Thanks!

-CHB

Reply all
Reply to author
Forward
0 new messages