Ronald Oussoren wrote:
the pyglet sources explicitly load /usr/local/lib/libavbin.dylib using ctypes.  
I could create a py2app recipe that copies libavbin.dylib into the application 
bundle, but that will probably not be used without patching the pyglet sources.


This is a problem in general with all ctypes uses. In fact, ctypes reminds me a bit of py2app in the sense that it has some built-in algorithms for searching for dynamic libs, and that these fail fairly often.

As for py2app, maybe the ctypes recipe could patch ctypes to look in a particular place in teh bundle, and then the user could specify which libs ctypes used, and py2ap would put them in the bundle.

-Chris


--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

chris.bar...@noaa.gov
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to