fredokun / cl-jupyter

An enhanced interactive Shell for Common Lisp (based on the Jupyter protocol)
BSD 2-Clause "Simplified" License
199 stars 29 forks source link

Systemwide installation #6

Closed Yurlungur closed 9 years ago

Yurlungur commented 9 years ago

Hi,

Thanks for writing this kernel! I'd like to use it on jupyterhub. And therefore I'd like to try and modify it so that I can install the kernel systemwide rather than on a per-user basis. Unfortunately, quick-lisp is (sanely) limited to a single user. Do you have suggestions about what changes I would need to make to install the kernel systemwide? I don't want to create a systemwide version of quicklisp as this would get hairy quickly as different users install different packages.

Thanks for your time.

fredokun commented 9 years ago

Hi... if you're on Unix you can probably setup a "cl-jupyter" user and install the quicklisp dependencies once. Then, you can modify the cl-jupyter.lisp script to look for dependencies there (I already use such a tweak to make ASDF aware of the cl-jupyter system)... But still, I would recommend installing the dependencies locally (the users can run an install script ...).

Sorry if that doesn't help (I guess it doesn't). Note that I have still to think a little bit more on how to ease the installation (but the way I see it, that's a common issue with jupyter kernels).

Yurlungur commented 9 years ago

Thanks for the reply! My eventual solution is something quite similar to your suggestion. I have created a quicklisp user, where I installed cl-jupyter and I point jupyterhub to this quicklisp installation. However, once cl-jupyter has been loaded, I ask users to load their own quicklisp installations to manage packages.

It's not an ideal solution, but it seems to work for now.