py-ipykernel: fix bug in phase method (#19986)
* py-ipykernel: fix bug in phase method * Fix bug in executable calling
This commit is contained in:
parent
bc5c475909
commit
95f5419502
@ -43,6 +43,7 @@ class PyIpykernel(PythonPackage):
|
||||
|
||||
phases = ['build', 'install', 'install_data']
|
||||
|
||||
def install_data(self):
|
||||
def install_data(self, spec, prefix):
|
||||
""" install the Jupyter kernel spec """
|
||||
self.spec['python'].command('-m ipykernel', ['install'])
|
||||
self.spec['python'].command(
|
||||
'-m', 'ipykernel', 'install', '--prefix=' + prefix)
|
||||
|
Loading…
Reference in New Issue
Block a user