summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-11-18 20:45:29 -0600
committerGitHub <noreply@github.com>2020-11-18 18:45:29 -0800
commit95f54195021d3d32dec75bed6d8dbbaeac3d921f (patch)
tree265fad549cda7241e35f3678c788a9cd5bf50ef5
parentbc5c475909925230c9a16bfe56f731a198bb8055 (diff)
downloadspack-95f54195021d3d32dec75bed6d8dbbaeac3d921f.tar.gz
spack-95f54195021d3d32dec75bed6d8dbbaeac3d921f.tar.bz2
spack-95f54195021d3d32dec75bed6d8dbbaeac3d921f.tar.xz
spack-95f54195021d3d32dec75bed6d8dbbaeac3d921f.zip
py-ipykernel: fix bug in phase method (#19986)
* py-ipykernel: fix bug in phase method * Fix bug in executable calling
-rw-r--r--var/spack/repos/builtin/packages/py-ipykernel/package.py5
1 files 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)