From 95f54195021d3d32dec75bed6d8dbbaeac3d921f Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Wed, 18 Nov 2020 20:45:29 -0600 Subject: py-ipykernel: fix bug in phase method (#19986) * py-ipykernel: fix bug in phase method * Fix bug in executable calling --- var/spack/repos/builtin/packages/py-ipykernel/package.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-ipykernel/package.py b/var/spack/repos/builtin/packages/py-ipykernel/package.py index 134c756490..1428f7d804 100644 --- a/var/spack/repos/builtin/packages/py-ipykernel/package.py +++ b/var/spack/repos/builtin/packages/py-ipykernel/package.py @@ -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) -- cgit v1.2.3-70-g09d2