Re: [Pyobjc-dev] ValueError: Unknown typestr
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2010-05-11 07:39:00
|
On 10 May, 2010, at 21:46, Luc Heinrich wrote: > > >> File "build/bdist.macosx-10.5-fat/egg/Foundation/__init__.py", line 10, in <module> >> File "build/bdist.macosx-10.5-fat/egg/CoreFoundation/__init__.py", line 19, in <module> >> File "objc/_bridgesupport.pyo", line 156, in initFrameworkWrapper >> File "objc/_bridgesupport.pyo", line 58, in _parseBridgeSupport > > The reason why it fails miserably is because py2app doesn't seem to know how to deal (or fail to deal correctly) with compressed Python eggs. The solution (at least for me :)) is to force PyObjC and any other library to be installed as non-compressed eggs. I personnally did it by patching all the setup.cfg files with an additional easy_install section, like this: Crap. Py2app is supposed to support zipped eggs. I'll make sure that the next release of pyobjc has 'zip_safe=False' in its setup.py files, after that I want to spend time on cleaning up and fixing py2app. Ronald |