Message 60561 - Python tracker (original) (raw)
- configure and build python using the --includedir option. For example:
$ configure --prefix=/TANGO/3/rel --includedir=/TANGO/3/rel/inc
- Run
$ make install
Notice that the include files are placed in /TANGO/3/rel/include not /TANGO/3/rel/inc.
Verify with
$ python -c 'from distutils.sysconfig import *;print get_python_inc()
The problem is that get_python_inc() hard codes the include file path to use the name "include"
Other programs using distutils will fail since the INSTALL_SCHEMES found in install.py also have the name "include" hard coded.
Suggested fix would be to use --includedir to calculate the include path used by distutils.