Follow Andrews' post to install PyPy: andrewsmedina.com/2013/07/28/introducao-ao-pypy/
Create a virtualenv (I'm using virtualenvwrapper) with pypy executable:
$ mkvirtualenv lxml-pypy -p /path/to/bin/pypy
Clone the lxml fork that is using cffi instead of Cython:
$ git clone https://github.com/amauryfa/lxml.git
You'll need to install the following packages to build lxml (with both, Python or PyPy):
$ [sudo] apt-get install libxml2 libxslt1-dev zlib1g-dev
cd into the lxml repository and run:
$ git checkout origin/cffi
$ python setup.py build
$ python setup.py install
Done!
Hi, sorry for the random help request, but do you have any idea why I might be getting compilation errors running this on Ubuntu 14.04, PyPy 2.6.0?
It goes on like this for awhile before Python raises an exception about
ccexiting with status code 1.