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

Function configure_build_python

Platforms/Apple/__main__.py:251–263  ·  view source on GitHub ↗

The implementation of the "configure-build" command.

(context: argparse.Namespace)

Source from the content-addressed store, hash-verified

249
250
251def configure_build_python(context: argparse.Namespace) -> None:
252 """The implementation of the "configure-build" command."""
253 if context.clean:
254 clean(context, "build")
255
256 with (
257 group("Configuring build Python"),
258 cwd(subdir("build", create=True)),
259 ):
260 command = [relpath(PYTHON_DIR / "configure")]
261 if context.args:
262 command.extend(context.args)
263 run(command)
264
265
266def make_build_python(context: argparse.Namespace) -> None:

Callers

nothing calls this directly

Calls 7

relpathFunction · 0.90
cwdFunction · 0.85
cleanFunction · 0.70
groupFunction · 0.70
subdirFunction · 0.70
runFunction · 0.70
extendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…