[lxml-dev] lxml with with py2app

F Wolff friedel at translate.org.za
Thu Jan 15 09:41:36 CET 2009


Hallo list

I'm trying to get lxml going with my app as packaged with py2app on Mac
OSX 10.5.

The application is running correctly, lxml is definitely working in my
install. The app bundle is built without any errors. The file etree.so
is included in
virtaal.app/Contents/Resources/lib/python2.5/lib-dynload/lxml/

(feel free to ask if somebody needs help to get this far)


However, when trying to run the app, it complains:
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/lxml/etree.so not found

lxml is installed in /Library/Python/2.5/site-packages, but of course, I
don't want it to use this copy anyway - I want to use the bundled copy.

Has anybody had success in bundling lxml with py2app? I can't see why
the built-in lib-dynload directory is not being used. Any help will be
appreciated.

Keep well
Friedel


--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/language-and-dialect-codes



More information about the lxml-dev mailing list