![]() |
autoconf-style checking for installed libs with DistUtils
HI!
Is it possible to probe for installed libs with DistUtils? I'd like to automatically search for optional libs and adjust C compiler switchers before starting the build of a the extension module. Ciao, Michael. |
Re: autoconf-style checking for installed libs with DistUtils
Michael Ströder <michael@stroeder.com> writes:
> Is it possible to probe for installed libs with DistUtils? > > I'd like to automatically search for optional libs and adjust C > compiler switchers before starting the build of a the extension module. Unfortunately, great though it is, distutils can be a bit hard to customize. I remember having trouble getting extra gcc switches in, and getting data put where it needed to go. Generally, you do whatever you like before calling setup(), to figure out library paths and such. I haven't heard of any autoconf-like facilities having been added. If you have a particular problem, try asking about that. I wonder if SCons (pure-Python) could help in some way with this kind of stuff? It *does* have some (newish, I think) autoconfiguration code, but I don't know if it has any distutils support. John |
Re: autoconf-style checking for installed libs with DistUtils
John J. Lee schrieb:
> Michael Ströder <michael@stroeder.com> writes: >>Is it possible to probe for installed libs with DistUtils? > I wonder if SCons (pure-Python) could help in some way with this kind > of stuff? It *does* have some (newish, I think) autoconfiguration > code, but I don't know if it has any distutils support. SCons has some support for Library checks. But you may want to have a look at Autoscons which offers more stuff (still under development). In addition I am currently working on implementing a whole bunch of autoconf stuff for Autoscons. If you are interested, I can send you some fragments. Regards Hartmut Goebel -- | Hartmut Goebel | IT-Security -- effizient | | h.goebel@goebel-consult.de | www.goebel-consult.de | |
| All times are GMT. The time now is 11:14 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.