summaryrefslogtreecommitdiffstats
path: root/Lib/ensurepip/_uninstall.py
Commit message (Collapse)AuthorAgeFilesLines
* [2.7] bpo-31351: Set return code in ensurepip when pip fails (GH-3734)Igor Filatov2017-09-251-2/+3
| | | | | | | Previously ensurepip would always report success, even if the pip installation failed. (cherry picked from commit 9adda0cdf89432386b7a04444a6199b580d287a1)
* Implement PEP 477 - Backport ensurepip (PEP 453) to 2.7Donald Stufft2014-11-111-0/+30
* 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.