Python Forum

Full Version: executable for mac
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
An app that has been developed for windows,
has attracted the interest of some mac users (yes they exist!)

Instead of doing pyinstaller ... etc, to create an .exe file, what
module would be recommended to do the same, but out comes a "mac" exe.

I've been doing some reading, all quite confusing.
I'm looking for THE recommended solution, with as little hassle as possible.
Any obvious command line module that I should look into?

In short:
The app searches an sqlite db, finds a prayer card, and shows it on a tkinter canvas.

thanks,
Paul
(Aug-14-2023, 05:58 AM)DPaul Wrote: [ -> ]Instead of doing pyinstaller ... etc, to create an .exe file, what
module would be recommended to do the same, but out comes a "mac" exe.
Piystaller Wrote:PyInstaller is tested against Windows, MacOS X, and Linux. However,
it is not a cross-compiler; to make a Windows app you run PyInstaller on Windows,
and to make a Mac app you run it on Mac etc. x
So you run same code with Pyinstaller,just that need to run code on a Mac OS.
Then will generate an stand alone executable for Mac.

For Mac there also py2app,and cx-Freeze is also still being developed.
The same for all is that need to run code on Mac OS,so if you don't have a Mac can use VirtualBox
macOS in VirtualBox.
(Aug-14-2023, 08:19 AM)snippsat Wrote: [ -> ]So you run same code with Pyinstaller,just that need to run code on a Mac OS.
Then will generate an stand alone executable for Mac.

Oh, I see ...!
I'll ask one of these mac guys come to me with his machine,
and do the test.
Very useful info.
thanks,
Paul