On Monday, February 4, 2013 at 9:40 PM, Richard Jones wrote:
> On 5 February 2013 12:36, Nick Coghlan <[email protected] 
> (mailto:[email protected])> 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.

_______________________________________________
Catalog-SIG mailing list
[email protected]
http://mail.python.org/mailman/listinfo/catalog-sig

Reply via email to