pypa/pip — pull request #1540 by Ivoz (2014-02-06 18:34:22+00:00)
Title: Repurpose pip.__init__.bootstrap()

Previously `pip.__init__.bootstrap` was dead code for the removed `install-pip.py` file. I saw an opportunity to move `get-pip.py`'s bootstrap function into this, which simplifies `get-pip.py` a little.

functions' output are now correctly returned up to `sys.exit()` so any errors will return an error code to the os properly - which should fix #1535.

This could also allow in the future (if one desired), the creation of a simple Command alla `pip bootstrap`, or e.g. `python pip-1.6.0-py2.py3-non-any.whl bootstrap` to bootstrap pip from a zip file.