Skip to content

Commit b8ca09a

Browse files
authored
Merge pull request #46 from nipreps/codex/add-ipykernel-to-pixi.toml-and-update-binder
Add ipykernel setup for Binder Pixi environment
2 parents 44c255a + 8917b6f commit b8ca09a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

binder/postBuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ curl -fsSL https://pixi.sh/install.sh | bash
55
export PATH="$HOME/.pixi/bin:$PATH"
66

77
pixi install --locked
8+
pixi run python -m ipykernel install --user --name nipreps-book --display-name "Pixi (nipreps-book)"
89
pixi shell-hook -e default -s bash
910

1011
echo 'eval "$(pixi shell-hook)"' >> $HOME/.bashrc

pixi.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ ghp-import = "*"
1919
jupyter-book = "*"
2020
jupytext = "*"
2121
jupyterlab = "*"
22+
ipykernel = "*"
2223
matplotlib = "*"
2324
nibabel = "*"
2425
nilearn = "*"

0 commit comments

Comments
 (0)