[Distutils] The future of invoking pip

Nathaniel Smith njs at pobox.com
Mon Nov 9 20:17:47 EST 2015


On Thu, Nov 5, 2015 at 7:52 PM, Glyph Lefkowitz <glyph at twistedmatrix.com> wrote:
>
> If you invoke 'pip[X.Y]' and it matches 'python -m pip' in your current
> virtualenv, don't say anything; similarly if you invoke 'python -m pip' and
> 'which pip' matches.  But if there's a mismatch, pip can print information
> in both cases.  This would go a long way to alleviating the confusion that
> occurs when users back themselves into one of these corners, and would alert
> users to potential issues before they become a problem; right now you have
> to be a dogged investigative journalist to figure out why pip is doing the
> wrong thing in some cases.

Here's a sketch of how something like this might look:

https://gist.github.com/njsmith/c051a8298cc641bcfef4

-n

-- 
Nathaniel J. Smith -- http://vorpus.org


More information about the Distutils-SIG mailing list