[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Python 3.4 and ensurepip (rehashed, long)



[Donald Stufft, 2014-03-26]
> On Mar 26, 2014, at 9:12 AM, Piotr Ożarowski <piotr@debian.org> wrote:
> > [Barry Warsaw, 2014-03-25]
> >> One of the things I'd like to see, in addition to supporting
> >> platform-specified system-level installation directories
> >> (i.e. /usr/local/lib/pythonX.Y/dist-packages on Debian), is an upstream switch
> >> to tell Python to ignore this directory, mirroring e.g. -s.  That way, if
> >> people say "Well I just pip installed foo into /usr/local and it broke my
> >> system" we'd be able to respond "you better use pythonX.Y --dont-blame-us".
> > 
> > I like the idea (where --dont-blame-us simply disables support for
> > .egg/.zip/.whl in the interpreter, assuming pip/easy_install installs
> > zips instead of unpacking them)
> 
> Pip does not install as an .egg or a .whl. It doesn’t use .egg at all and regardless
> of which format it downloads it unpacks it and installs it. There is no difference in
> format between what pip installs and any debian package I’ve ever looked at.

then --dont-blame-us has to mean removing /usr/local from sys.path
-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645


Reply to: