MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / get_pyodide_config_var

Function get_pyodide_config_var

nix/build-all.py:215–217  ·  view source on GitHub ↗
(var_name: str)

Source from the content-addressed store, hash-verified

213if WASM:
214
215 def get_pyodide_config_var(var_name: str) -> str:
216 output = sp.check_output(["pyodide", "config", "get", var_name], encoding="utf-8").strip()
217 return output
218
219 if "PYODIDE_ROOT" not in os.environ:
220 cecho("WARNING. Couldn't find 'PYODIDE_ROOT' in environment variables.", YELLOW)

Callers 1

build-all.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected