MCPcopy Index your code
hub / github.com/python/cpython / build_python_path

Function build_python_path

Platforms/WASI/_build.py:161–171  ·  view source on GitHub ↗

The path to the build Python binary.

()

Source from the content-addressed store, hash-verified

159
160
161def build_python_path():
162 """The path to the build Python binary."""
163 binary = BUILD_DIR / "python"
164 if not binary.is_file():
165 binary = binary.with_suffix(".exe")
166 if not binary.is_file():
167 raise FileNotFoundError(
168 f"Unable to find `python(.exe)` in {BUILD_DIR}"
169 )
170
171 return binary
172
173
174def build_python_is_pydebug():

Callers 3

build_python_is_pydebugFunction · 0.70
make_build_pythonFunction · 0.70
configure_wasi_pythonFunction · 0.70

Calls 2

is_fileMethod · 0.45
with_suffixMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…