[lxml-dev] changes to lxml's setup.py
Martijn Faassen
faassen at infrae.com
Wed Nov 22 19:04:46 CET 2006
Hey,
To followup, I've done some more refactoring and hope I didn't break
anything. I've now made it more explicit that we're setting library dirs
and install dirs, instead of just passing everything as cflags and libs.
I've also done a lot of thinking about the rpath issue. One first step
is of course to make --rpath reach distutils again, and I've fixed that
by making the current --rpath option be named --auto-rpath.
Now I'm trying to figure out why buildout still doesn't work correctly,
and I think I've identified the issue as at least partially in buildout.
Passing --include-dirs and --library-dirs to setup.py explicitly
certainly has the intented effect after all.. I've sent a message to the
buildout people (mainly Jim Fulton) to see whether he has anything to
say about this.
I think setupinfo.py can be refactored somewhere further beyond this;
I'm still not 100% happy with the way static options now override, and I
still need to explore what happens when you override with commandline
options. It would still be nice to indicate a custom xslt-config as
well, but that would require a bit more magic in option parsing than I
feel up to right now.
Regards,
Martijn
More information about the lxml-dev
mailing list