[Pythonmac-SIG] Building a multi-component application with py2app

David Hughes dfh at forestfield.co.uk
Tue Jul 12 16:43:00 CEST 2005


I have a wxPython application where the main process has a number of 
components that can be started as separate processes when required, for 
example, an independent GUI help viewer and several console-type helper 
tasks. With py2exe under MSW I can build them all into the same 'Dist' 
with a single setup.py so they share the same support modules and 
libraries. Is the same thing achievable with py2app? I can obviously build 
each component as a separate application, with no sharing, but the 
overhead is 10+ Mb per component.

The py2app examples for drpython imply that the 'app' parameter in the 
call to setup can be a list of .pyw(?) files but when I try something 
similar, I get "error: Multiple targets not currently supported". Is it 
possible to achieve this, or maybe to 'merge' a number of standalone apps?

Regards,

David Hughes
Forestfield Software


More information about the Pythonmac-SIG mailing list