Path: csiph.com!1.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod From: Julien Cristau Newsgroups: linux.debian.maint.python Subject: Re: Packaging/installing jupyter kernels Date: Fri, 05 Aug 2016 22:40:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Aug 5 20:33:02 2016 Old-Return-Path: X-Amavis-Spam-Status: No, score=-8.186 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RP_MATCHES_RCVD=-1.287] autolearn=ham autolearn_force=no MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Operating-System: Linux 4.6.0-1-amd64 x86_64 User-Agent: Mutt/1.6.0 (2016-04-01) X-Mailing-List: archive/latest/14049 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20160805203244.GY7085@betterave.cristau.org Approved: robomod@news.nic.it Lines: 19 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python@lists.debian.org X-Original-Date: Fri, 5 Aug 2016 22:32:44 +0200 X-Original-Message-ID: <20160805203244.GY7085@betterave.cristau.org> X-Original-References: Xref: csiph.com linux.debian.maint.python:8709 On Fri, Aug 5, 2016 at 14:07:51 +0200, Gordon Ball wrote: > Jupyter has been in experimental for a while and presumably will make it > to unstable in the not too distant future. >=20 > Once that is done, what is the correct way for packages providing a > jupyter kernel to install it? >=20 > * manually install kernel.json in /usr/share/jupyter/kernels/? > * build-depend on python3-jupyter-core and call `jupyter kernelspec > install` during build? > * runtime-depend and install in postinst instead? > * (something else) >=20 The 'build-depend on jupyter-core and call kernelspec install during build' thing is what I've done for ipykernel, IIRC. Cheers, Julien