[Pythonmac-SIG] py2app error with _py_suffixes

Bob Ippolito bob at redivi.com
Tue Dec 28 20:27:07 CET 2004


On Dec 28, 2004, at 12:14 PM, Kevin Dangoor wrote:

> Kevin Dangoor wrote:
>
>> First of all, thanks for all of the work put into py2app! Hard to 
>> imagine how much time it would have taken me to figure out all of the 
>> various things that it does (particularly since I'm new to Mac 
>> development).
>>
>> I was just going to rebuild an app and ran into this error:
>>
>>  File "/purelib/py2app/py2app/util.py", line 203, in byte_compile
>> NameError: global name '_py_suffixes' is not defined
>>
>> It was trying to byte compile a ".pyc" to a ".pyc"
>>
>> I don't see _py_suffixes defined anywhere...
>
> One more bit of relevant info... I just noticed that the file in 
> question was a ".ptl" file (from Quixote) that was compiled into a 
> ".pyc".

That would probably explain it.  py2app may very well not be compatible 
with alternatively compiled bytecode, I will have to look into it.  Do 
you know if compiled ptl is compatible with py2exe?

-bob



More information about the Pythonmac-SIG mailing list