[Distutils] Re: How to find out the default include path

Thomas Heller thomas.heller@ion-tof.com
Wed Oct 23 08:22:01 2002


"M.-A. Lemburg" <mal@lemburg.com> writes:

> M.-A. Lemburg wrote:
> > Is there a way to find out the default include path
> > used by a compiler ? Does distutils have an API for
> > this ?
> > I scanned the code but couldn't find any hint.
> 
> 
> So far I found these defaults:
> 
> Linux:
>     libs:    /lib, /usr/lib
>     headers: /usr/include
> 
> Windows:
>     libs:    $LIB
>     headers: $INCLUDE

Hm, what do you mean? These are not always set on Windows, depending
on how MSVC was installed.

You are aware of the function get_msvc_paths() in msvccompiler.py?

Thomas