Skip to content

Commit

Permalink
Merge pull request jupyter#276 from Jeitan/migrating_clarification
Browse files Browse the repository at this point in the history
Migrating clarification
  • Loading branch information
takluyver authored Jul 28, 2017
2 parents 6dafd23 + b220f2a commit 51fb97f
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions docs/source/migrating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ If you just want to change the config file, you can do:
jupyter notebook --config=/path/to/myconfig.py
Changing kernelspecs
~~~~~~~~~~~~~~~~~~~~
Changing IPython's profile using custom kernelspecs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If you do want to change the IPython kernel's profile, you
can't do this at the server command-line anymore. Kernel arguments must
Expand All @@ -155,6 +155,23 @@ One approach uses ``jupyter kernelspec list`` to find the
by hand. Alternatively, `a2km <https://github.com/minrk/a2km>`__ is an
experimental project that tries to make these things easier.

For example, add the ``--profile`` option to a custom kernelspec under ``kernels/mycustom/kernel.json``
(see the Jupyter kernelspec directions
`here <https://jupyter-client.readthedocs.io/en/latest/kernels.html#kernel-specs>`__):

.. code-block:: json
{
"argv": ["python", "-m", "ipykernel",
"--profile=my-ipython-profile",
"-f", "{connection_file}"],
"display_name": "Custom Profile Python",
"language": "python"
}
You can then run Jupyter with the ``--kernel=mycustom`` command-line option and IPython
will find the appropriate profile.

Understanding Installation Changes
----------------------------------

Expand Down

0 comments on commit 51fb97f

Please sign in to comment.