[lxml-dev] setup.py issues

Sidnei da Silva sidnei at enfoldsystems.com
Mon Nov 27 18:59:10 CET 2006


Hi there,

There are a couple regressions, and a feature request about the latest
setup.py stuff:

  - 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

  - 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').

  - 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.

-- 
Sidnei da Silva
Enfold Systems                http://enfoldsystems.com
Fax +1 832 201 8856     Office +1 713 942 2377 Ext 214


More information about the lxml-dev mailing list