Add py-setuptools as dependency
With the addition of dependency types and with `py-setuptools` set as type='build' there are more packages that need to have `py-setuptools` added as a dependency. This PR adds that dependency for the following packages: - py-h5py - py-networkx - py-pytables - py-scikit-image
This commit is contained in:
parent
7220bc1766
commit
eb865b0df2
@ -43,6 +43,7 @@ class PyH5py(Package):
|
||||
# Build dependencies
|
||||
depends_on('py-cython@0.19:', type='build')
|
||||
depends_on('pkg-config', type='build')
|
||||
depends_on('py-setuptools', type='build')
|
||||
depends_on('hdf5@1.8.4:')
|
||||
depends_on('hdf5+mpi', when='+mpi')
|
||||
depends_on('mpi', when='+mpi')
|
||||
|
@ -34,6 +34,7 @@ class PyNetworkx(Package):
|
||||
extends('python')
|
||||
|
||||
depends_on('py-decorator', type=nolink)
|
||||
depends_on('py-setuptools', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
||||
|
@ -37,6 +37,7 @@ class PyPytables(Package):
|
||||
depends_on('py-numpy', type=nolink)
|
||||
depends_on('py-numexpr', type=nolink)
|
||||
depends_on('py-cython', type=nolink)
|
||||
depends_on('py-setuptools', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
env["HDF5_DIR"] = spec['hdf5'].prefix
|
||||
|
@ -42,6 +42,7 @@ class PyScikitImage(Package):
|
||||
depends_on('py-six', type=nolink)
|
||||
depends_on('py-scipy', type=nolink)
|
||||
depends_on('py-matplotlib', type=nolink)
|
||||
depends_on('py-setuptools', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
||||
|
Loading…
Reference in New Issue
Block a user