Saturday, August 9, 2008

Building lxml on OS X

These instructions will get you up and running on either the system python, macpython (i'm fairly sure) or the macports python.

Install libxml2 and libxlst through MacPorts

In bash:
export CFLAGS=-flat_namespace
python setup.py bdist_egg --with-xslt-config=/opt/local/bin/xslt-config
easy_install theegg.egg

No comments: