[Pythonmac-SIG] importing namespaces/modules

David Worrall vip at avatar.com.au
Sat Jan 20 08:00:53 CET 2007


Piet, Ronald,
You have been most kind in taking the time to answer these queries.
Thank you.

David

On 20/01/2007, at 12:08 AM, Ronald Oussoren wrote:

>
> 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
>

_________________________________________________
experimental polymedia:	www.avatar.com.au
Sonic Communications Research Group,
University of Canberra:	 www.canberra.edu.au/vc-forum/scrg
vip=Verbal Interactivity Project





More information about the Pythonmac-SIG mailing list