diff options
author | Donald Stufft <donald@stufft.io> | 2014-11-11 10:24:11 -0500 |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2014-11-11 10:24:11 -0500 |
commit | 891298f5865caaf67cd15946716f33c239f77f9d (patch) | |
tree | de15ac1152fbc80a99a49b70ef60e93e038aa6b8 /Makefile.pre.in | |
parent | c03d80b36f72c6a132324387ba443f919d241095 (diff) | |
download | cpython-891298f5865caaf67cd15946716f33c239f77f9d.tar.gz |
Implement PEP 477 - Backport ensurepip (PEP 453) to 2.7
* Backports ensurepip to the 2.7 branch
* Backports some of the improved documentation to the 2.7 branch.
* Adds a private backport of the 3.x mock library as test._mock_backport
to enable saner testing of ensurepip.
Key Differences from 3.x:
* Ensurepip does not have any Makefile integration, specifically
it is not ran by default in the Makefile.
* There is no venv module in 2.7, so downstream distributors can
completely disable ensurepip, ideally with a message redirecting
to the correct way to install pip.
* To match the ``python`` command in 2.7, ensurepip will install
the unversioned ``pip`` command as well.
* No-op and hide --default-pip and add --no-default-pip to restore
the 3.x behavor on 2.7.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 1cfaa05637..efa3b51830 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -947,6 +947,7 @@ LIBSUBDIRS= lib-tk lib-tk/test lib-tk/test/test_tkinter \ test/tracedmodules \ encodings compiler hotshot \ email email/mime email/test email/test/data \ + ensurepip ensurepip/_bundled \ json json/tests \ sqlite3 sqlite3/test \ logging bsddb bsddb/test csv importlib wsgiref \ |