Skip to main content

write_spec

Function write_spec 

Source
pub fn write_spec(runtime_dir: &Path, repo: &str) -> Result<()>
Expand description

Write the kernelspec for repo under {runtime_dir}/kernels/.

argv[0] is "python" on purpose: jupyter_client rewrites that token to sys.executable, so kernels run on the sidecar’s pinned venv even though the spec itself is engine-generated.