[Pythonmac-SIG] py2app and /usr/lib libraries

Bob Ippolito bob at redivi.com
Sun Nov 7 19:45:47 CET 2004

On Nov 7, 2004, at 11:57, Florian Munz wrote:

> I had a lot of fun playing with py2app and PyObjC this weekend but for
> distributing my application I encountered the following difficulty:
> My application uses libxslt und libtidy and they depend on libraries in
> /usr/lib.
> What is the correct way to ship these in one application package?
> I tried it with an libxslt.framework insinde the package Frameworks
> directory, but I don't know if and how the libxslt python module must 
> be
> recompiled to find the library at this location or what other changes
> need to be made.
> Another way may be to provide an pkg-based installer, but I have no
> experiences with this.

DO NOT install anything to /usr/lib or /System, EVER.  Put stuff in in 
/usr/local, /Library, etc.  py2app completely ignores anything in 
system paths for good reason.


More information about the Pythonmac-SIG mailing list