-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make user scripts directory versioned on Windows #67625
Comments
Patch to make the user scripts directory on Windows %APPDATA%\Python\PythonXY\Scripts rather than %APPDATA%\Python\Scripts. See the thread "PEP-370 - per-user scripts directory on Windows" (Feb 10 2015) on python-dev for discussion, but essentially this is to ensure that different Python versions cannot overwrite each others' package scripts when packages are installed into the user site directory. Not tested, as I don't yet have Visual Studio 2015 installed. I'll try to obtain and install it when I get the chance. |
You should be able to apply the patch to 3.5.0a1 and test it that way easily enough. Other than the doc changes, it's just .py files. (Building 3.5 with earlier VS versions is also okay right now.) |
Cool, I've just run the tests by manually patching a 3.5a0 install. No extra failures, so things look fine. (Interestingly, before patching, test_site "altered the execution environment" but afterwards it didn't - it just succeeded. I don't know if that means anything, but I'm inclined not to worry as it definitely didn't fail.) |
How do pip & co. handle the change? I assume they just look in sysconfig and don't think too much about the path... |
Sorry, yes pip just installs into %APPDATA%\Python\Python35\Scripts with no issues. |
New changeset add998f98e31 by Steve Dower in branch 'default': |
This one could use a NEWS entry, and possibly what's new as well. |
New changeset a2217106ca5e by Steve Dower in branch 'default': |
Thanks. I always forget about those. |
Sorry, I should probably have added them to the patch in the first place :-) |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: