From 8917b6f72136d75a2ba9823f33ac83e9be46bd58 Mon Sep 17 00:00:00 2001 From: Oscar Esteban Date: Wed, 8 Oct 2025 07:28:16 +0200 Subject: [PATCH] Add ipykernel setup for Binder Pixi environment --- binder/postBuild | 1 + pixi.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/binder/postBuild b/binder/postBuild index 0694814..aaf7a2c 100644 --- a/binder/postBuild +++ b/binder/postBuild @@ -5,6 +5,7 @@ curl -fsSL https://pixi.sh/install.sh | bash export PATH="$HOME/.pixi/bin:$PATH" pixi install --locked +pixi run python -m ipykernel install --user --name nipreps-book --display-name "Pixi (nipreps-book)" pixi shell-hook -e default -s bash echo 'eval "$(pixi shell-hook)"' >> $HOME/.bashrc diff --git a/pixi.toml b/pixi.toml index 4762e6a..e8dde15 100644 --- a/pixi.toml +++ b/pixi.toml @@ -19,6 +19,7 @@ ghp-import = "*" jupyter-book = "*" jupytext = "*" jupyterlab = "*" +ipykernel = "*" matplotlib = "*" nibabel = "*" nilearn = "*"