(var_name: str)
| 213 | if 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) |