Hi Sidnei, Sidnei da Silva wrote:
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
Thanks for the patch. Can't currently test if it works with SVN 1.4, but if you say it does, I'll just apply it.
- 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').
That's not always the case. Naming conventions differ between systems.
- 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.
... or CFLAGS and LDFLAGS in Unix environments. Want to come up with a patch here, too? Stefan