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

Function get_builddir

Platforms/emscripten/wasm_assets.py:94–98  ·  view source on GitHub ↗

Get builddir path from pybuilddir.txt

(args: argparse.Namespace)

Source from the content-addressed store, hash-verified

92
93
94def get_builddir(args: argparse.Namespace) -> pathlib.Path:
95 """Get builddir path from pybuilddir.txt"""
96 with open("pybuilddir.txt", encoding="utf-8") as f:
97 builddir = f.read()
98 return pathlib.Path(builddir)
99
100
101def get_sysconfigdata(args: argparse.Namespace) -> pathlib.Path:

Callers 1

mainFunction · 0.85

Calls 2

openFunction · 0.50
readMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…