make py-setuptools a run-time-only dep for py-basemap and patch pytho… (#6989)

* make py-setuptools a run-time-only dep for py-basemap and patch python package to only apply setuptools flag for build deps

* py-qtconsole does not require setuptools
This commit is contained in:
Gregory Lee
2018-03-21 14:34:27 -07:00
committed by Adam J. Stewart
parent 55f4bbb111
commit 7504e9997d
3 changed files with 9 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ class PyBasemap(PythonPackage):
# Per Github issue #3813, setuptools is required at runtime in order
# to make mpl_toolkits a namespace package that can span multiple
# directories (i.e., matplotlib and basemap)
depends_on('py-setuptools', type=('build', 'run'))
depends_on('py-setuptools', type=('run'))
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-matplotlib', type=('build', 'run'))
depends_on('pil', type=('build', 'run'))

View File

@@ -35,7 +35,6 @@ class PyQtconsole(PythonPackage):
variant('doc', default=False, description='Build documentation')
depends_on('py-setuptools', type='build')
depends_on('py-ipykernel@4.1:', type=('build', 'run'))
depends_on('py-jupyter-client@4.1:', type=('build', 'run'))
depends_on('py-jupyter-core', type=('build', 'run'))