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)
| 108 | |
| 109 | |
| 110 | def bootstrap(*, root=None, upgrade=False, user=False, |
| 111 | altinstall=False, default_pip=False, |
| 112 | verbosity=0): |
| 113 | """ |
| 114 | Bootstrap pip into the current Python installation (or the given root |
| 115 | directory). |
| 116 | |
| 117 | Note that calling this function will alter both sys.path and os.environ. |
| 118 | """ |
| 119 | # Discard the return value |
| 120 | _bootstrap(root=root, upgrade=upgrade, user=user, |
| 121 | altinstall=altinstall, default_pip=default_pip, |
| 122 | verbosity=verbosity) |
| 123 | |
| 124 | |
| 125 | def _bootstrap(*, root=None, upgrade=False, user=False, |
nothing calls this directly
no test coverage detected
searching dependent graphs…