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 摘要。