PEP 720: Cross-compiling Python packages

A few things that I am still confused about:

  • What are all the variables supposed to expand to under this PEP? I assume that most of them would be pointing to the target’s values? How do we interrogate the system’s environment if needed?
  • This PEP is primarily aimed at introspecting the cross-compilation environment within a python environment, such as for PEP517 python native builders?
  • What about python3-config? I presume that that should point to the target’s environment, but should stuff like python3-config --prefix point to the staging locations or the installed paths?

As far as I’ve tried the crossenv approach, it is actually working quite nicely. I presume that with this PEP, it would be compatible with that approach?