mac app from a python script?

Dan Stromberg drsalists at gmail.com
Tue Jan 25 21:41:25 EST 2022


On Tue, Jan 25, 2022 at 2:23 PM Barry <barry at barrys-emacs.org> wrote:

>
> On 25 Jan 2022, at 02:56, Dan Stromberg <drsalists at gmail.com> wrote:
>
> 
>
> On Sun, Jan 23, 2022 at 1:37 PM Barry <barry at barrys-emacs.org> wrote:
>
>>
>> I do not have experience with great, but you might try pyinstaller.
>> I use it to make a PyQt Mac app successfully.
>>
>> It’s command line plus setup script.
>>
>
> I wound up doing:
> 1) pyinstaller, as normal, but this created a broken all-encompassing
> binary of my script.  At least it gave me the metadata I needed though.
>
>
> You mean it created a .app bundle?
>
> That is the way that macOS makes it trivia to install apps
> Just by drag and drop in /Applications.
>

Yes, it created an hcm.app for me.  But the executable it created didn't
work.  Hence the hack.


More information about the Python-list mailing list