[Distutils] How to find out the default include path

Pearu Peterson pearu@cens.ioc.ee
Wed Oct 23 09:27:01 2002


On Wed, 23 Oct 2002, M.-A. Lemburg wrote:

> Pearu Peterson wrote:

> > If it matters, add also <sys.prefix>/lib, <sys.prefix>/include (some
> > people install Python with --prefix=$HOME, for example).
> 
> Well, these paths are needed to find 3rd party libs to link
> against, so I'd suspect that Python dirs are not necessary
> on the default paths.

Actually, people may install also 3rd party libs to $HOME. In fact,
sometimes Python itself can be considered as one.

I do it consistently when I happen to work on a system where I don't have
root permissions and sysadmins are so slow to install anything from the 
3rd party.

Pearu