[Pythonmac-SIG] Minor bug/typo in r89 (trunk) of py2app/build_app.py

Brant Faircloth faircloth at gmail.com
Fri Mar 12 23:43:57 CET 2010


hello,

i was working out of the trunk for py2app in hopes of building a pyqt4
app, and after updating to r32 of macholib (and fixing the 'unpack
requires a string argument of length with…' error), i set about
returning to py2app to get things working.

anyway, on my renewed building efforts, the macholib error was fixed, but i got:

NameError: global name 'PYTHONFRAMEWORK' is not defined
/Library/Python/2.6/site-packages/py2app-0.4.4-py2.6.egg/py2app/build_app.py(893)copy_framework()
-> if info['shortname'] == PYTHONFRAMEWORK:

digging around, i noticed a typo in the global variable name of the
current trunk for py2app.  this is likely fixed somewhere, but see
attached patch if it isn't (it's terribly simple ; ).

best,
brant



< * )
 (_ \\
 _ ||
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ramework.patch
Type: application/octet-stream
Size: 396 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20100312/d295476d/attachment.obj>


More information about the Pythonmac-SIG mailing list