ipython / ipython/ipykernel

Implement installation of wrapper kernels

未關閉
#196 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
734
分支
412
平均合併
1 天 5 小時
30 天內合併 PR
8

描述

ipykernel could provide the necessary machinery for installation of any wrapper kernel, rather than having to implement it again and again (as in https://github.com/takluyver/bash_kernel/blob/master/bash_kernel/install.py). See e.g. https://github.com/Calysto/metakernel/pull/97/files#diff-791c3f643c36601ccb872bba3375d6d4R660 for a PR that uses `KernelClass.kernel_json` to create the relevant json file and let you use `python -mkernel install` to install it (dynamic creation of the json is helpful to avoid hardcoding the path to `python`, of course).
(Note that otherwise, all wrapper kernels still expose `python -mkernel install`, but that installs the ipykernel itself :-))

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。