summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2017-03-01 07:49:57 -0600
committerGitHub <noreply@github.com>2017-03-01 07:49:57 -0600
commit186d990791fbd984db9a5d1193caa75949c8af47 (patch)
treed8e1b7af4c3a93e4c9f3993dae5dfcba9dc9773e
parentecc8f578af5a976c0eb18b0dbf5bb59a07f2d602 (diff)
downloadspack-186d990791fbd984db9a5d1193caa75949c8af47.tar.gz
spack-186d990791fbd984db9a5d1193caa75949c8af47.tar.bz2
spack-186d990791fbd984db9a5d1193caa75949c8af47.tar.xz
spack-186d990791fbd984db9a5d1193caa75949c8af47.zip
pip requires setuptools during runtime (#3272)
-rw-r--r--var/spack/repos/builtin/packages/py-pip/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-pip/package.py b/var/spack/repos/builtin/packages/py-pip/package.py
index 7a41d6caa5..234601a8ee 100644
--- a/var/spack/repos/builtin/packages/py-pip/package.py
+++ b/var/spack/repos/builtin/packages/py-pip/package.py
@@ -34,4 +34,7 @@ class PyPip(PythonPackage):
version('9.0.1', '35f01da33009719497f01a4ba69d63c9')
depends_on('python@2.6:2.7,3.3:')
- depends_on('py-setuptools', type='build')
+
+ # Most Python packages only require setuptools as a build dependency.
+ # However, pip requires setuptools during runtime as well.
+ depends_on('py-setuptools', type=('build', 'run'))