[Pyobjc-dev] PyObjC with PyInstaller
Brought to you by:
ronaldoussoren
|
From: Trevor B. <mr...@gm...> - 2011-05-08 22:57:29
|
Hello,
I know this is more of a question for the PyInstaller mailing list, but
I wanted to check here and see if anyone has successfully used PyObjC
with PyInstaller?
I'm trying to create a PyInstaller package with PyTTSx (text-to-speech
module), which uses PyObjC, but it seems that some dynamic imports
related to the PyObjC "bridgesupport" module are failing. The
PyInstaller package is made successfully, but I get the following
exception at runtime:
------------------------------
File
"/Users/<path>/pyinstaller/test/build/pyi.darwin/test/outPYZ1.pyz/pyttsx.engine",
line 45, in __init__
File
"/Users/<path>/pyinstaller/test/build/pyi.darwin/test/outPYZ1.pyz/pyttsx.driver",
line 64, in __init__
File "/Users/<path>/pyinstaller/PyInstaller/iu.py", line 431, in
importHook
mod = _self_doimport(nm, ctx, fqname)
...
... <lots of iu.py stuff>
...
File
"/Users/<path>/pyinstaller/test/build/pyi.darwin/test/outPYZ1.pyz/CoreFoundation",
line 19, in <module>
File
"/Users/<path>/pyinstaller/test/build/pyi.darwin/test/outPYZ1.pyz/objc._bridgesupport",
line 156, in initFrameworkWrapper
File
"/Users/<path>/pyinstaller/test/build/pyi.darwin/test/outPYZ1.pyz/objc._bridgesupport",
line 58, in _parseBridgeSupport
ValueError: Don't know CF type for typestr '^{__CFAllocator=}', cannot
create special wrapper
------------------------------
Any information on this would help! I'm willing to hack around dynamic
loading entirely if I can figure out a reasonable way.
Thanks,
Trevor
|