Hi Didier, pip and conda work well for beakerx, and your situation sounds
similar so they might work for you.

The pip package installs regular static files for the kernel (or whatever)
into the environment only, as usual.
and then the user runs a 2nd command to install the kernel into jupyter.
Conda installs the
same python package, and then automatically runs the installer.  The exact
commands run by a user would be similar to these:
http://beakerx.com/documentation#tutorials-and-examples (but a bit simpler
since you don't need ipywidgets).

here's how that's implemented.

the installer:
https://github.com/twosigma/beakerx/blob/master/beakerx/beakerx/install.py

and the post-link scripts in the conda recipe that runs the installer:
https://github.com/conda-forge/beakerx-feedstock/tree/master/recipe



On Tue, Oct 17, 2017 at 9:03 PM, Didier Amyot <[email protected]>
wrote:

> Hi there,
>
> I am building a kernel for clojure and I would like to know what is the
> best way to distribute a kernel.  Personally, I would like a user to be
> able to pip install jupyter-clojure and then that magically the user
> would have a clojure kernel in his jupyter settings.  But here, I see many
> issues as python setuptools is not made to play in the user's home
> directory (not to raise the permission and security issues).
>
> Anyway, are there kernels that are easy to install that I should copy?
>
> cheers,
>
> didier
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/c997eef6-d821-4719-b821-1446e242e9a3%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/c997eef6-d821-4719-b821-1446e242e9a3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
BeakerX.com
ScottDraves.com <http://www.ScottDraves.com>
@Scott_Draves <http://twitter.com/scott_draves>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAMaD%2Bf5rBug%2BKVpJ-hbXWzM1DWZTHv%3DO1o0dxOWsSQ02EnehYA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to