Feedback on a Python interpreter discovery mechanism #2345
brettcannon
started this conversation in
General
Replies: 1 comment 1 reply
-
Did you take a look at https://github.com/pypa/virtualenv/blob/main/src/virtualenv/discovery/py_info.py#L33-L112? All information available there would be relevant for virtualenv 🤔 As for search spec this file https://github.com/pypa/virtualenv/blob/main/src/virtualenv/discovery/py_spec.py#L21-L26 is relevant. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking for any potential feedback on brettcannon/python-launcher#168 from virtualenv's perspective. Virtualenv could use this to help discover all the relevant Python installations on a machine. Virtualenv could also produce the information for environments it has created for tools that are looking for that information (e.g. Python Launcher, VS Code).
To be clear, this is in no way an ask to implement anything. I'm just asking if there is any visible holes in the JSON schema or idea from virtualenv's perspective. I would assume some library would get developed to help with this and potentially a PEP to help standardize it.
Beta Was this translation helpful? Give feedback.
All reactions