Fix setuptools handling in Python packages.

- add setuptools dependencies to packages that need it.
- remove setuptools from packages that do not need it.
This commit is contained in:
Paul Hopkins
2017-04-03 10:23:10 +01:00
committed by Todd Gamblin
parent 9f0b94b4e1
commit 8b92908ab4
12 changed files with 8 additions and 5 deletions

View File

@@ -37,6 +37,7 @@ class PySncosmo(PythonPackage):
# Required dependencies
# py-sncosmo binaries are duplicates of those from py-astropy
extends('python', ignore=r'bin/.*')
depends_on('py-setuptools', type='build')
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-scipy', type=('build', 'run'))
depends_on('py-astropy', type=('build', 'run'))