http://lxml.de/1.3/build.html
git clone https://github.com/lxml/lxml/ sudo apt-get install libxml-dev sudo apt-get install libxslt-dev pip install Cython python setup.py build_ext
If you want to test that the unit tests still pass, you can link the uld type:
cd src/lxml ln -s ../../build/lib.linux-x86_64-2.6/lxml/etree.so cd ../.. python test.py test_etree.py
No comments:
Post a Comment