-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add an explicit --global installation option #4865
Comments
From a UX perspective, I'd prefer to also offer the
However, I'd be fine with an approach that was based on #4575 and simply said:
|
Adding a direct link into the #1668 discussion regarding the rationale for the While the Debian patches to default to Also cc'ing @brainwane, as I think this could be a good issue for someone to tackle at the PyCon US 2018 sprints :) |
(Separating this specific piece out from the long discussion in #1668 about eventually making
--user
the default)We eventually want
pip
to start defaulting to per-user installs when run outside a virtual environment, with an explicit opt-in switch to request global installs (i.e. directly into the Python runtime's site-packages directory).As per the discussion on #1668, that setting will be called
--global
, since there isn't any self-evidently better alternative, and it should be easy to remember for anyone mixing and matching Python and JavaScript package management.Adding the opt-in setting will mean that users will be able to start preparing themselves for that eventual change in the default behaviour (by passing it explicitly when it's the desired behaviour), and will also make it possible to override
user=yes
in a config file.The text was updated successfully, but these errors were encountered: