> On Sep 26, 2014, at 3:09 AM, Paul Moore <p.f.mo...@gmail.com> wrote: > > On 26 September 2014 01:38, Donald Stufft <don...@stufft.io> wrote: >> Either way I'm fairly commited to making --user the default, the only >> question >> on my mind is what exactly does that look like (e.g. does root get --user by >> default?) and how we get from where we are now to that point. I think that >> raising an error here is fairly unfriendly when we can know with pretty good >> certainity what the user wanted (and they can explicitly declare that if >> they want too). > > A couple of points come to mind (although they may be more suitable > for distutils-sig). > > 1. Do user installs "leak" into virtualenvs? If so, then in effect > --use-system-packages is switched back on again if --user installs > become the norm. Which is almost certainly not what is wanted. > 2. pip install should default to not being --user when run from within > a virtualenv (same logic as the isolated Python case, but much more > important that behaviour remains as now, because the whole *point* of > virtualenvs is to isolate). > > Note that both of these points apply both to venv and virtualenvs.
1. No they don’t leak as far as I’m aware. 2. Yea, I think we throw an error when you use —user inside a virtual environment. --- Donald Stufft PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com