[Python-Dev] updating ensurepip to include wheel
Donald Stufft
donald at stufft.io
Sun Aug 16 17:52:28 CEST 2015
On August 16, 2015 at 11:26:08 AM, Steven D'Aprano (steve at pearwood.info) wrote:
> On Sun, Aug 16, 2015 at 10:52:00AM -0400, Donald Stufft wrote:
>
> > > So what is the benefit of including wheel with ensurepip?
> >
> > pip has an optional dependency on wheel, if you install that optional
> > dependency than you’ll get the implicit wheel cache enabled by default
> > which can drastically improve installation speeds by caching built
> > artifacts (i.e. ``pip instal lxml`` multiple times only compiles it
> > once). The goal is to get more people getting the benefits of that by
> > default instead of requiring them to know they need to ``pip install
> > wheel`` after the fact.
>
> Thanks for the explanation.
>
> And ensurepip couldn't install wheel as part of the process of
> installing pip?
>
>
That’s the proposal here, ensurepip only installs things it has bundled inside of it, so we’d add a .whl file for wheel and slightly tweak ensurepip so it also installs wheel.
-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
More information about the Python-Dev
mailing list