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

Function configure_build_python

Platforms/emscripten/__main__.py:261–273  ·  view source on GitHub ↗

Configure the build/host Python.

(context, working_dir)

Source from the content-addressed store, hash-verified

259
260@subdir("native_build_dir", clean_ok=True)
261def configure_build_python(context, working_dir):
262 """Configure the build/host Python."""
263 if LOCAL_SETUP.exists():
264 print(f"👍 {LOCAL_SETUP} exists ...")
265 else:
266 print(f"📝 Touching {LOCAL_SETUP} ...")
267 LOCAL_SETUP.write_bytes(LOCAL_SETUP_MARKER)
268
269 configure = [os.path.relpath(CHECKOUT / "configure", working_dir)]
270 if context.args:
271 configure.extend(context.args)
272
273 call(configure, quiet=context.quiet)
274
275
276@subdir("native_build_dir")

Callers

nothing calls this directly

Calls 4

callFunction · 0.70
existsMethod · 0.45
write_bytesMethod · 0.45
extendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…