Bootstrap pip into the current Python installation (or the given root directory). Note that calling this function will alter both sys.path and os.environ.
(*, root=None, upgrade=False, user=False,
altinstall=False, default_pip=False,
verbosity=0)
| 123 | |
| 124 | |
| 125 | def bootstrap(*, root=None, upgrade=False, user=False, |
| 126 | altinstall=False, default_pip=False, |
| 127 | verbosity=0): |
| 128 | """ |
| 129 | Bootstrap pip into the current Python installation (or the given root |
| 130 | directory). |
| 131 | |
| 132 | Note that calling this function will alter both sys.path and os.environ. |
| 133 | """ |
| 134 | # Discard the return value |
| 135 | _bootstrap(root=root, upgrade=upgrade, user=user, |
| 136 | altinstall=altinstall, default_pip=default_pip, |
| 137 | verbosity=verbosity) |
| 138 | |
| 139 | |
| 140 | def _bootstrap(*, root=None, upgrade=False, user=False, |
nothing calls this directly
no test coverage detected