Closed ben-albrecht closed 5 years ago
@ben-albrecht I will host it in pip.
@ben-albrecht I have hosted it in PyPI. For installing you can follow the readme or
pip3 install jupyter-kernel-chapel
install_chapel_kernel --user
Nice! Is it possible for the setup.py
to do the install_chapel_kernel
step automatically or is it separate for a specific reason?
Taking a glance at the fortran kernel repository, it looks like they require a similar post-installation command: jupyter-kernelspec install fortran_spec/
.
Perhaps this is the norm for installing kernels?
Hey @ben-albrecht, Actually we are doing it internally rather than asking the user to do that https://github.com/krishnadey30/jupyter_kernel_chapel/blob/ce54fb7eedc3de9d853890e7908971f9b5ebbb55/jupyter-kernel-chapel/install_chapel_kernel#L33 But if you will check fortran is using json file and calling it from outside to install it.
Actually we are doing it internally rather than asking the user to do that
Oh, so can a user skip this step?
> install_chapel_kernel --user
I'll try it out myself when I get a chance.
@ben-albrecht No, I don't think so. But I will try to find out some other ways for this.
@ben-albrecht I have made changes and now
> install_chapel_kernel --user
is not needed.
That worked for me! Thanks!
Is it possible to host this as a pip package on PyPI so that a user can pip install it and it will be available to their Jupyter notebook kernels?
A quick pip search reveals existing kernels that do something like this:
Clearly, there is not a standardized naming scheme. However,
jupyter-kernel-chapel
seems like the most popular option.