[lxml-dev] setup.py issues
Martijn Faassen
faassen at infrae.com
Wed Nov 29 21:30:11 CET 2006
Hey,
Sidnei da Silva wrote:
> There are a couple regressions, and a feature request about the latest
> setup.py stuff:
My apologies for the regressions and thanks for the help!
> - Parsing the revision from svn 1.4 seems to have regressed. The
> attached patch replaces the code with a slightly modified version of
> the code in setuptools/commands/egg_info.py
Thanks! I saw Stephan applied this.
> - Passing 'libraries' to 'Extension' needs to be made aware of
> '--static'. To be more precise, if --static is set, 'libraries' should
> have '<lib>_a' instead of '<lib>' (eg: 'xslt_a' instead of 'xslt').
Oh, that sucks. I was hoping that distutils took care of such messes. :(
> - I would like to be able to pass 'static_include_dirs' and
> 'static_library_dirs' and 'static_cflags' as environment variables,
> which distutils already understands instead of changing setup.py. That
> would be 'INCLUDE' and 'LINK' environment variables on win32.
Sounds like a good plan. I see you submitted a patch for this too. I
hope my efforts at least made setup.py more hackable. :)
Regards,
Martijn
More information about the lxml-dev
mailing list