MCPcopy Create free account
hub / github.com/Noumena-Network/code / resolve_python_module_dirs

Function resolve_python_module_dirs

rust/py_repl_host/src/main.rs:308–317  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

306}
307
308fn resolve_python_module_dirs() -> Option<String> {
309 env::var("NCODE_PY_REPL_PYTHON_MODULE_DIRS")
310 .ok()
311 .filter(|value| !value.trim().is_empty())
312 .or_else(|| {
313 env::var("CLAUDE_CODE_PY_REPL_PYTHON_MODULE_DIRS")
314 .ok()
315 .filter(|value| !value.trim().is_empty())
316 })
317}
318
319fn resolve_python_executable() -> io::Result<String> {
320 let explicit = env::var("NCODE_PY_REPL_PYTHON_PATH")

Callers 1

spawn_kernelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected