MCPcopy Create free account
hub / github.com/python/cpython / write_library_config

Function write_library_config

Platforms/emscripten/__main__.py:341–346  ·  view source on GitHub ↗
(prefix, name, config, quiet)

Source from the content-addressed store, hash-verified

339
340
341def write_library_config(prefix, name, config, quiet):
342 cached_config = prefix / (name + ".json")
343 with cached_config.open("w") as f:
344 json.dump(config, f)
345 if not quiet:
346 print(f"Succeded building {name}, wrote config to {cached_config}")
347
348
349@subdir("host_build_dir", clean_ok=True)

Callers 2

make_emscripten_libffiFunction · 0.85
make_mpdecFunction · 0.85

Calls 2

openMethod · 0.45
dumpMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…