Title: should be part of the stdlib
Type: enhancement Stage:
Components: Build, Library (Lib) Versions: Python 3.8
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: barry, doko, nanjekyejoannah, ncoghlan, pitrou, shihai1991
Priority: normal Keywords:

Created on 2018-05-07 12:15 by pitrou, last changed 2019-07-27 18:19 by shihai1991.

Messages (3)
msg316264 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2018-05-07 12:15
Rather than (or in addition to) being a standalone script, python-config should be invokable as a stdlib module, e.g. "python -m sysconfig.config".  This would prevent the risk of invoking the wrong script on PATH.
msg348546 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2019-07-27 14:39
what are the situations where the path for python and python-config is different?

This proposal doesn't say anything how to retrieve the correct information for cross builds using this module.  From my point of view, python-config should stay outside the standard library.
msg348558 - (view) Author: hai shi (shihai1991) * (Python triager) Date: 2019-07-27 18:19
En, looks like just only makefile would call
IMHO, if no out user call this script, looks it move to stdlib would be better.
Date User Action Args
2019-07-27 18:19:38shihai1991setnosy: + shihai1991
messages: + msg348558
2019-07-27 14:39:42dokosetmessages: + msg348546
2019-07-26 22:06:24nanjekyejoannahsetnosy: + nanjekyejoannah
2018-05-07 12:15:49pitroucreate