[Catalog-sig] Use user-specific site-packages by default?

Donald Stufft donald.stufft at gmail.com
Tue Feb 5 03:42:15 CET 2013


On Monday, February 4, 2013 at 9:40 PM, Richard Jones wrote:
> On 5 February 2013 12:36, Nick Coghlan <ncoghlan at gmail.com (mailto:ncoghlan at gmail.com)> wrote:
> > [snip "sudo pip" common & bad]
> > 
> > If pip used the user site packages by default (when running as anyone
> > other than root), that dangerous UI flow wouldn't happen.
> > 
> > Thoughts?
> 
> I think it's a great idea.
> 
> Perhaps also having pip warn about being run under sudo (a warning
> that can be shut up simply) might not be a bad idea?
> 
I think the biggest problem with this idea is going to be backwards
compatibility. It's a good idea but it might need to be done as
a "if we don't have permissions to write to the site-packages directory
fail with a good error message and recommend user-packages or
virtualenv.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/catalog-sig/attachments/20130204/79b23b35/attachment-0001.html>


More information about the Catalog-SIG mailing list