From d9eecc73486a8dc53d19721d81a35a33bf9c6a37 2016-09-12 16:28:24 From: Piotr Przetacznik Date: 2016-09-12 16:28:24 Subject: [PATCH] Rephrase two steps installing kernel in docs --- diff --git a/docs/source/install/kernel_install.rst b/docs/source/install/kernel_install.rst index 3072d69..26436fc 100644 --- a/docs/source/install/kernel_install.rst +++ b/docs/source/install/kernel_install.rst @@ -66,10 +66,15 @@ Note that this command will create new configuration for kernel in one of it's p * in Jupyter's env (sys.prefix/share), * per-user (~/.local/share or ~/Library/share) -In case where you want to edit generated kernelspec configuration before installing it you can do the same with two steps approach. You can create configuration in temporary location and install it in Jupyter (copy configuration files) with: +If you want to edit the kernelspec before installing it, you can do so in two steps. +First, ask IPython to write its spec to a temporary location: .. sourcecode:: bash ipython kernel install --prefix /tmp - jupyter kernelspec install /tmp/share/jupyter/kernels/python3 +edit the files in /tmp/share/jupyter/kernels/python3 to your liking, then when you are ready, tell Jupyter to install it (this will copy the files into a place Jupyter will look): + +.. sourcecode:: bash + + jupyter kernelspec install /tmp/share/jupyter/kernels/python3