We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bf083c commit 0d183d3Copy full SHA for 0d183d3
src/pip/_internal/build_env.py
@@ -65,7 +65,11 @@ def _format_main_py(source: pathlib.Path) -> bytes:
65
66
@contextlib.contextmanager
67
def _create_standalone_pip() -> Iterator[str]:
68
- """Create a zip file containing specified pip installation."""
+ """Create a "standalone pip" zip file.
69
+
70
+ The zip file contains a (modified) copy of the pip currently running.
71
+ It will be used to install requirements into the build environment.
72
+ """
73
source = pathlib.Path(pip_location).resolve().parent
74
with TempDirectory(kind="standalone-pip") as tmp_dir:
75
pip_zip = os.path.join(tmp_dir.path, "pip.zip")
0 commit comments