This can replace a lot of Python discovery code to match the official implementation. We will need to port this to Rust for the shims too.
This is not essential—the current implementation works fine dealing with ~per-user~ installations from python.org. Can be delayed until there really is a need to support ~local machine installations or~ other Python distributors (e.g. Continuum).
Edit: The discovery now works for both per-user and machine-wide. I’m now leaning toward implementing PEP 514 myself instead of using pep514tools, but this would at least stay open until we support Pythons from other distributors.
https://github.com/zooba/pep514tools#usage
This can replace a lot of Python discovery code to match the official implementation. We will need to port this to Rust for the shims too.
This is not essential—the current implementation works fine dealing with ~per-user~ installations from python.org. Can be delayed until there really is a need to support ~local machine installations or~ other Python distributors (e.g. Continuum).
Edit: The discovery now works for both per-user and machine-wide. I’m now leaning toward implementing PEP 514 myself instead of using pep514tools, but this would at least stay open until we support Pythons from other distributors.