[Distutils] The future of invoking pip
Wolfgang Maier
wolfgang.maier at biologie.uni-freiburg.de
Sun Nov 8 16:03:49 EST 2015
On 05.11.2015 22:08, Donald Stufft wrote:
>
> * Having pip need to be installed into each Python means you end up with a
> bunch of independent pip installations which all need to be independently
> updated. We've made this better by having recent pips warn you if you're not
> on the latest version, but it's not unusual for me personally to have 30+
> different installations of pip on my personal desktop. That isn't great.
>
For the record, it is possible to have just one pip accessed by multiple
installed Pythons right now.
Just add a .pth file to site-packages of each Python with an entry to
the same shared directory. Install pip into one Python, then mv the pip
and the accompanying dist-info folder to that shared directory.
It's a bit of effort to set up the first time, but you'll only have one
pip to update afterwards.
More information about the Distutils-SIG
mailing list