py-ipykernel: fix install (#19617)
There is a post-install routine in `ipykernel` that needs to be called for proper registration with jupyter.
This commit is contained in:
parent
77d9acb071
commit
d6bd95db2e
@ -40,3 +40,9 @@ class PyIpykernel(PythonPackage):
|
|||||||
depends_on('py-pytest-cov', type='test')
|
depends_on('py-pytest-cov', type='test')
|
||||||
# depends_on('py-flaky', type='test')
|
# depends_on('py-flaky', type='test')
|
||||||
depends_on('py-nose', type='test')
|
depends_on('py-nose', type='test')
|
||||||
|
|
||||||
|
phases = ['build', 'install', 'install_data']
|
||||||
|
|
||||||
|
def install_data(self):
|
||||||
|
""" install the Jupyter kernel spec """
|
||||||
|
self.spec['python'].command('-m ipykernel', ['install'])
|
||||||
|
Loading…
Reference in New Issue
Block a user