[lxml-dev] specifying lxml as a dependency?
Ian Bicking
ianb at colorstudy.com
Sun Nov 9 21:49:42 CET 2008
Chris Withers wrote:
> Hi All,
>
> I'm just about to start moving Twiddler from ElementTree to lxml and I'm
> wondering how to specify lxml as a requirement in Twiddler's setup.py?
>
> Do I just do the normal setuptools dance or is there more to it than that?
>
> If I specify lxml as a requirement, how do lxml's requirements for
> libxml2 and libxlst get satisfied?
Just as 'lxml'. On Windows it'll pull the binary egg. Maybe a Mac egg
is doable now? I think there are still some difficulties to moving
libraries around. Linux binary eggs are too problematic to be worth
trying. The system will have to have libxml2/libxslt and the -dev
packages (on Linux), and they could do "STATIC_DEPS=true easy_install
Twiddler" to build a static lxml on Macs (with the trunk, which itself
is a little harder to build, but hopefully there will be an easier
release before too long).
--
Ian Bicking : ianb at colorstudy.com : http://blog.ianbicking.org
More information about the lxml-dev
mailing list