Python bindings for the fabulous libwkhtmltox using Cython
Special thanks to antialize for creating wkhtmltopdf
$ python setup.py install
Tested on:
- Mac OSX 10.6.4 Snow Leopard, Python 2.6.1 (32-bit and 64-bit)
- CentOS 5.5, Python 2.6.4 (32-bit)
- you need
libwkhtmltox.*somewhere in your LD path (/usr/local/lib) - you need the directory
src/include/wkhtmltoxfromwkhtmltopdfsomewhere on your include path (/usr/local/include)
If compiling for OSX (64-bit Python/libwkhtmltox only), until this bug is fixed you need the qt_menu.nib directory from the QT source tree in the same directory as your libwkhtmltox.* library files.
If you want to re-generate C source (or have made changes to the Cython template file, .pyx) you need Cython (tested with 0.13):
$ easy_install cython