I released a PEP draft for a proposal to define the format of a static description file for Python installations.
I’d like to get feedback on which other information we should include in this file.
This PEP only meant to standardize the format. Methods of distribution is another can of worms (think about normal distributions, then WASM, etc), which I feel should be defined separately.
Even though we don’t standardize where to find the static description file, just having this format and having implementations providing it on their own terms would be a big improvement for cross-builds and other similar use-cases.
Having a static file that describes a Python distribution is the first step towards standardizing installation introspection, which plays a big role in multiple different workflow: package building infrastructure, launchers, etc.
We define a static file to target use-cases where running the Python interpreter is undesirable, and/or impossible.
Ideally, this should be the basis for future work in sysconfig, which would additionally provide information that can only be known at runtime.