Two exe's in one py2exe dist?

Jorgen Bodde jorgen.maillist at gmail.com
Sun Feb 10 03:07:42 PST 2008


Hi all,

I am writing an app that has a wxPython front end, but also a GUI-less
back end. On windows I would like to have the console and GUI both
compiled to one dir. The problem however is that calling two setup()
functions in a py2exe session, makes it overwrite the "library.zip"
file in which all the files are located for each individual exe. Is
there a way to generate two exe's in one directory with py2exe ?

I can't generate two seperate dirs because:
- The overhead will be 10+ Mb for the user
- Shared files are needed in both apps

I was thinking that perhaps I could merge library.zip from the console
and the GUI, I did some investigation and all "imported" modules are
binary compatble.

Did anyone succeed in attempting what I want?

Regards,
- Jorgen




More information about the wxpython-users mailing list