summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2020-02-19 18:41:27 -0600
committerGitHub <noreply@github.com>2020-02-19 18:41:27 -0600
commit4cd1a5660ec35e64c8555c50cea61eec9210295c (patch)
treedbfd384f1104426338967a52213a15023472a6c9 /var
parent65133daad76dd2a000d18843306dec1f9c0d2265 (diff)
downloadspack-4cd1a5660ec35e64c8555c50cea61eec9210295c.tar.gz
spack-4cd1a5660ec35e64c8555c50cea61eec9210295c.tar.bz2
spack-4cd1a5660ec35e64c8555c50cea61eec9210295c.tar.xz
spack-4cd1a5660ec35e64c8555c50cea61eec9210295c.zip
py-notebook: make py-setuptools a run dependency (#15095)
* py-notebook: make py-setuptools a run dependency The py-setuptools dependency in py-notebook needs to be a run dependency. The following message is received if it is not in the run environment. Traceback (most recent call last): File "/opt/ssoft/apps/2020.1/linu x-centos7-sandybridge/gcc-9.2.0/py-notebook-6.0.1-6usbn4c/bin/jupyter-notebook", line 6, in <module> from pkg_resources import load_entry_point Module NotFoundError: No module named 'pkg_resources' * Remove extraneous whitespace
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-notebook/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-notebook/package.py b/var/spack/repos/builtin/packages/py-notebook/package.py
index d02c39f1e2..f674638a60 100644
--- a/var/spack/repos/builtin/packages/py-notebook/package.py
+++ b/var/spack/repos/builtin/packages/py-notebook/package.py
@@ -25,7 +25,7 @@ class PyNotebook(PythonPackage):
depends_on('python@2.7:2.8,3.3:', type=('build', 'run'))
depends_on('python@3.5:', type=('build', 'run'), when='@6:')
- depends_on('py-setuptools', type='build', when='@5:')
+ depends_on('py-setuptools', type=('build', 'run'), when='@5:')
depends_on('py-jinja2', type=('build', 'run'))
depends_on('py-tornado@4.0:6.999', type=('build', 'run'), when='@:5.7.4')
depends_on('py-tornado@4.1:6.999', type=('build', 'run'), when='@5.7.5:6.0.1')