(python) PrependPath=0 #2218
God-damnit-all
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Before starting, ensure that you have done the following.
What do you want to add?
There is no way to prevent Python installations from modifying the PATH variable unless you do a 32-bit only install. This is important for multiple Python installs, I don't want the installation of an older version to suddenly take precedent.
Currently, the way it works is through the use of the Install-Python helper function, which only takes into consideration whether the install is 32-bit or not. For normal installs, it will use
PrependPath=1
as an argument for the installer.What problem will the feature/enhancement solve?
When installing, say, the python310 package when I already have the python311 package, I won't have to worry about the python command suddenly pointing to the python310 installation.
If the feature or enhancement is approved:
Additional Context
While I'm willing to submit a PR myself to add this feature, I'm not sure how the new Python deployment process works, and I would like to be pointed to the exact file(s) to modify.
Beta Was this translation helpful? Give feedback.
All reactions