[Pythonmac-SIG] importing namespaces/modules

Ronald Oussoren ronaldoussoren at mac.com
Fri Jan 19 14:08:36 CET 2007


 
On Friday, January 19, 2007, at 01:45PM, "Piet van Oostrum" <piet at cs.uu.nl> wrote:
>
>>DW> And after py2app?
>
>I am not very familiar with py2app, but I think it packs up the necessary
>.pyc modules into the executable. But I am quite sure it will always pack
>the whole .pyc file. It would be unfeasible to extract only a part of a
>.pyc file as there will be all kinds of internal references in the module.
>Some of the dependencies might be so dynamic that a static analyses would
>be unable to detect them.

py2app always includes entire pyc files and looks at import statements to detect dependencies.

Ronald


More information about the Pythonmac-SIG mailing list