diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2020-11-18 20:45:29 -0600 |
---|---|---|
committer | Tamara Dahlgren <dahlgren1@llnl.gov> | 2021-02-17 17:07:15 -0800 |
commit | cda34ba20a7cbd9c7706d9b098f513d4ec4957d4 (patch) | |
tree | a6d89f390afc17b88089aea5f58d6eb59c74a829 /var | |
parent | 38cf4f9fc28f25e7326198d39b1b11b16b402acc (diff) | |
download | spack-cda34ba20a7cbd9c7706d9b098f513d4ec4957d4.tar.gz spack-cda34ba20a7cbd9c7706d9b098f513d4ec4957d4.tar.bz2 spack-cda34ba20a7cbd9c7706d9b098f513d4ec4957d4.tar.xz spack-cda34ba20a7cbd9c7706d9b098f513d4ec4957d4.zip |
py-ipykernel: fix bug in phase method (#19986)
* py-ipykernel: fix bug in phase method
* Fix bug in executable calling
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-ipykernel/package.py | 5 |
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) |