Skip to content

Conversation

@johanfforsberg
Copy link

E.g.

$ ipython kernel install --name=mypython --profile=myprofile --user

The idea is to be able to configure the kernel to always use a given IPython profile. This could be pretty useful for creating custom versions of the ipykernel.

I realised that there was already almost support for this in the code, I just added a new argument and hooked it up to the internals.

Johan Forsberg added 3 commits July 28, 2016 19:11

def install(kernel_spec_manager=None, user=False, kernel_name=KERNEL_NAME, display_name=None, prefix=None):
def install(kernel_spec_manager=None, user=False, kernel_name=KERNEL_NAME, display_name=None,
profile=None, prefix=None):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add profile on the end instead of just before prefix, so that it's a backward-compatible patch in the extremely unlikely event of people passing all arguments positionally?

@minrk minrk added this to the 4.4 milestone Jul 29, 2016
@minrk minrk merged commit d72e3c5 into ipython:master Aug 1, 2016
@minrk
Copy link
Member

minrk commented Aug 1, 2016

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants