-
-
Notifications
You must be signed in to change notification settings - Fork 655
Description
We make the following change to sagelib
:
- add a
console_script
that installs a kernel spec (usingsage.repl.ipython_kernel.install
), similar toipykernel.kernelspec
(https://github.com/ipython/ipykernel/blob/f2e9895a6217c53c3912a0fdeb306a8316fd62fd/ipykernel/kernelspec.py), usingjupyter_client.kernelspec.KernelSpecManager
for the actual installation.
References:
Distributing Jupyter Extensions as Python Packages — Jupyter Notebook 6.1.1 documentation
https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Distributing%20Jupyter%20Extensions%20as%20Python%20Packages.html
ipykernel/kernelspec.py at f2e9895a6217c53c3912a0fdeb306a8316fd62fd · ipython/ipykernel
https://github.com/ipython/ipykernel/blob/f2e9895a6217c53c3912a0fdeb306a8316fd62fd/ipykernel/kernelspec.py
ipykernel/setup.py at f2e9895a6217c53c3912a0fdeb306a8316fd62fd · ipython/ipykernel
https://github.com/ipython/ipykernel/blob/f2e9895a6217c53c3912a0fdeb306a8316fd62fd/setup.py
Depends on #33855
CC: @dimpase @nbruin @slel @paulmasson @kiwifb @EmmanuelCharpentier @jhpalmieri
Component: build
Keywords: sd111
Issue created by migration from https://trac.sagemath.org/ticket/30298