Title: incorrect prefix, exec_prefix in distutils.command.install
Type: behavior Stage: needs patch
Components: Distutils Versions: Python 3.9
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: dstufft, eric.araujo, xdegaye
Priority: normal Keywords:

Created on 2019-12-01 14:01 by xdegaye, last changed 2019-12-01 14:01 by xdegaye.

Messages (1)
msg357678 - (view) Author: Xavier de Gaye (xdegaye) * (Python triager) Date: 2019-12-01 14:01
In function finalize_options() of Lib/distutils/command/ at

(prefix, exec_prefix) is set using get_config_vars(). This may be incorrect when Python has been manually copied in another location from the location where it has been installed with 'make install'. We should use sys.prefix and sy.exec_prefix instead, those values are calculated by getpath.c instead of being retrieved from the sysconfigdata module.
Date User Action Args
2019-12-01 14:01:26xdegayecreate