summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2017-04-06 17:54:07 -0500
committerGitHub <noreply@github.com>2017-04-06 17:54:07 -0500
commit7c41d9c6dbb88c4d778a95459a50157c3945b380 (patch)
tree2c824e696ebc31de9597301fc6d9cd93190eb985
parent5c0fe2829bb248cd9b8dc5ba3a0260f27c1c891c (diff)
downloadspack-7c41d9c6dbb88c4d778a95459a50157c3945b380.tar.gz
spack-7c41d9c6dbb88c4d778a95459a50157c3945b380.tar.bz2
spack-7c41d9c6dbb88c4d778a95459a50157c3945b380.tar.xz
spack-7c41d9c6dbb88c4d778a95459a50157c3945b380.zip
spglib requires setuptools during runtime (#3744)
-rw-r--r--var/spack/repos/builtin/packages/py-spglib/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-spglib/package.py b/var/spack/repos/builtin/packages/py-spglib/package.py
index 19380b745b..3d73b3e891 100644
--- a/var/spack/repos/builtin/packages/py-spglib/package.py
+++ b/var/spack/repos/builtin/packages/py-spglib/package.py
@@ -34,5 +34,7 @@ class PySpglib(PythonPackage):
version('1.9.9.18', 'b8b46268d3aeada7b9b201b11882548f')
- depends_on('py-setuptools@18.0:', type='build')
+ # Most Python packages only require setuptools as a build dependency.
+ # However, spglib requires setuptools during runtime as well.
+ depends_on('py-setuptools@18.0:', type=('build', 'run'))
depends_on('py-numpy', type=('build', 'run'))