[Pythonmac-SIG] py2app & multiple executable files with a main launcher
aahz at pythoncraft.com
Mon Aug 24 17:33:32 CEST 2009
On Wed, Aug 12, 2009, Gabriel Rossetti wrote:
> I am trying to bundle an application I wrote usinf py2app. The
> application has a launcher "launcher.py" and a Python script "main.py"
> that calls the launcher several times in sub-processes with diff args. I
> successfully did this with py2exe for windows. I had py2exe generate
> "launcher.exe" and "main.exe" and when I run "main.exe" it does what
> it's supposed to correctly. I can't get this to work with py2app though.
> it won't allow me to generate several executable files. Does anyone know
> how to do this or have a better idea? I have to run multiple sub
> programmes in parallel but I'd like to only have one entry-point (the
> user just needs to click on one file) to run it.
I'm not sure what you're trying to do, but it almost certainly is
possible. Keep in mind that running programs on a Mac is more similar
(overall) to running programs on Unix than Windows. However, an
"application" on a Mac is an entirely different beast, and if you want
multiple applications you probably need a setup.py for each.
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"I support family values -- Addams family values" --www.nancybuttons.com
More information about the Pythonmac-SIG