
Is it possible to build lxml without libxslt installed? Thanks. Andriy Kornatskyy

Andriy Kornatskyy, 29.11.2012 20:22:
Is it possible to build lxml without libxslt installed?
It was at some point, but it's not currently. If you want to give it a try, almost all of the code that uses libxslt is in xslt.pxi, with just a few calls in the general initialisation places, especially to configure error reporting. It should be possible to move them into xslt.pxi and then change the build to make that (and thus libxslt) optional. Stefan

I am using it for html parsing and there is nothing to do with xslt, thus dependency to libxslt seems to be optional... in systems like freebsd this requires extra time to get things compiled (libxslt). Any chance to make libxslt optional again so the lxml install is not failing if it is not installed? Thanks. Andriy Kornatskyy ----------------------------------------

Andriy Kornatskyy, 30.11.2012 18:06:
It's a rather small library, though, so there isn't all that much of a difference.
Any chance to make libxslt optional again so the lxml install is not failing if it is not installed?
See above. You can give it a try if you want. Stefan

Stefan, Thank you for the comment back. If there is anything optional I would keep it so. I would like to see libxslt as an optional dependency in lxml since it is not a big deal from development standpoint of view per input you gave me. Please accept this as a request for enhancement; I believe lxml users only benefit from it. Andriy ----------------------------------------

Stefan, Thank you for the comment back. If there is anything optional I would keep it so. I would like to see libxslt as an optional dependency in lxml since it is not a big deal from development standpoint of view per input you gave me. Please accept this as a request for enhancement; I believe lxml users only benefit from it. Andriy ----------------------------------------

Andriy Kornatskyy, 29.11.2012 20:22:
Is it possible to build lxml without libxslt installed?
It was at some point, but it's not currently. If you want to give it a try, almost all of the code that uses libxslt is in xslt.pxi, with just a few calls in the general initialisation places, especially to configure error reporting. It should be possible to move them into xslt.pxi and then change the build to make that (and thus libxslt) optional. Stefan

I am using it for html parsing and there is nothing to do with xslt, thus dependency to libxslt seems to be optional... in systems like freebsd this requires extra time to get things compiled (libxslt). Any chance to make libxslt optional again so the lxml install is not failing if it is not installed? Thanks. Andriy Kornatskyy ----------------------------------------

Andriy Kornatskyy, 30.11.2012 18:06:
It's a rather small library, though, so there isn't all that much of a difference.
Any chance to make libxslt optional again so the lxml install is not failing if it is not installed?
See above. You can give it a try if you want. Stefan

Stefan, Thank you for the comment back. If there is anything optional I would keep it so. I would like to see libxslt as an optional dependency in lxml since it is not a big deal from development standpoint of view per input you gave me. Please accept this as a request for enhancement; I believe lxml users only benefit from it. Andriy ----------------------------------------

Stefan, Thank you for the comment back. If there is anything optional I would keep it so. I would like to see libxslt as an optional dependency in lxml since it is not a big deal from development standpoint of view per input you gave me. Please accept this as a request for enhancement; I believe lxml users only benefit from it. Andriy ----------------------------------------
participants (2)
-
Andriy Kornatskyy
-
Stefan Behnel