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
a0a15b5cd0
commit
8b431d1774
1 changed files with 6 additions and 0 deletions
|
@ -40,3 +40,9 @@ class PyIpykernel(PythonPackage):
|
|||
depends_on('py-pytest-cov', type='test')
|
||||
# depends_on('py-flaky', 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 a new issue