Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
A working recipe for installing lxml on OS X with static dependencies and no need for MacPorts or Fink
cd /tmp
tar -xzvf lxml-2.2.2.tgz
cd lxml-2.2.2
cd libs/
cd ..
python build --static-deps --libxml2-version=2.7.3 --libxslt-version=1.1.24
sudo python install

Thanks for this!

Could you turn this into a Homebrew formula, so it’s even easier to install?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment