[Distutils] How to find out the default include path

M.-A. Lemburg mal@lemburg.com
Wed Oct 23 09:32:02 2002


Pearu Peterson wrote:
> 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.

Ok, good argument. I'll add that as well, then.

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
_______________________________________________________________________
eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,...
Python Consulting:                               http://www.egenix.com/
Python Software:                    http://www.egenix.com/files/python/