[ python-Bugs-1019715 ] distutils ignores configure's --includedir

SourceForge.net noreply at sourceforge.net
Tue Aug 31 16:37:25 CEST 2004


Bugs item #1019715, was opened at 2004-08-31 09:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1019715&group_id=5470

Category: Distutils
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Joseph Winston (josephwinston)
Assigned to: Nobody/Anonymous (nobody)
Summary: distutils ignores configure's --includedir

Initial Comment:
1. configure and build python using the --includedir
option.  For example:

$ configure --prefix=/TANGO/3/rel
--includedir=/TANGO/3/rel/inc

2. Run

$ make install

3. Notice that the include files are placed in
/TANGO/3/rel/include not /TANGO/3/rel/inc.

4. Verify with

$ python -c 'from distutils.sysconfig import *;print
get_python_inc()

5. The problem is that get_python_inc() hard codes the
include file path to use the name "include"

6. Other programs using distutils will fail since the
INSTALL_SCHEMES found in install.py also have the name
"include" hard coded.

7.  Suggested fix would be to use --includedir to
calculate the include path used by distutils.





----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1019715&group_id=5470


More information about the Python-bugs-list mailing list