Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   autoconf-style checking for installed libs with DistUtils (http://www.velocityreviews.com/forums/t320146-autoconf-style-checking-for-installed-libs-with-distutils.html)

=?ISO-8859-1?Q?Michael_Str=F6der?= 07-26-2003 06:31 PM

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.


John J. Lee 07-26-2003 08:25 PM

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

Hartmut Goebel 07-28-2003 11:19 AM

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:23 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57