[lxml-dev] lxml now ships with Pyrex included
Martijn Faassen
faassen at infrae.com
Fri Oct 27 10:51:18 CEST 2006
Stefan Behnel wrote:
> Now that this works, we could also remove the .c files to shrink the source
> distribution. Any objections?
Yes, I object to removing the .c files. the .c files allow a guaranteed
sure build of lxml. There is absolutely no doubt which version of Pyrex
is used here, as that's under our own control (otherwise there might be
interesting import issues in play).
Also important, it allows tools like easy_install to download and
compile lxml fully automatically (such as in a buildout). I use this
feature all the time. I don't know whether that can work if a Pyrex is
bundled - the setup.py would likely become more complicated to account
for PYTHONPATH manipulation, and that might possibly break easy_install.
Regards,
Martijn
More information about the lxml-dev
mailing list