Created
August 14, 2009 11:43
-
-
Save simonw/167784 to your computer and use it in GitHub Desktop.
A working recipe for installing lxml on OS X with static dependencies and no need for MacPorts or Fink
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /tmp | |
wget http://codespeak.net/lxml/lxml-2.2.2.tgz | |
tar -xzvf lxml-2.2.2.tgz | |
cd lxml-2.2.2 | |
cd libs/ | |
wget ftp://xmlsoft.org/libxml2/libxml2-2.7.3.tar.gz | |
wget ftp://xmlsoft.org/libxml2/libxslt-1.1.24.tar.gz | |
cd .. | |
python setup.py build --static-deps --libxml2-version=2.7.3 --libxslt-version=1.1.24 | |
sudo python setup.py install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this!
Could you turn this into a Homebrew formula, so it’s even easier to install?