MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / run_python_build

Function run_python_build

tools/benchmark/navix/navix_paper_benchmark.py:85–90  ·  view source on GitHub ↗
(python_repo: Path)

Source from the content-addressed store, hash-verified

83
84
85def run_python_build(python_repo: Path) -> None:
86 import subprocess
87
88 env = os.environ.copy()
89 env["LBUG_SOURCE_DIR"] = str(REPO_ROOT)
90 subprocess.run(["make", "build-pybind-subdir"], cwd=python_repo, env=env, check=True)
91
92
93def import_ladybug(python_build: Path) -> tuple[Any, Any]:

Callers 1

mainFunction · 0.85

Calls 2

copyMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected