more fixes for use of setuptools in python packages

- py-setuptools is required by py-yt for importing yt in jupyter notebooks.
- add two dependencies needed for python 2.7
- add the py-subprocess32 package
This commit is contained in:
Matthew Krafczyk
2017-04-21 15:56:21 -07:00
committed by Todd Gamblin
parent 8b92908ab4
commit 16a7b27a9e
3 changed files with 37 additions and 1 deletions

View File

@@ -69,6 +69,8 @@ class PyMatplotlib(PythonPackage):
depends_on('py-pyparsing', type=('build', 'run'))
depends_on('py-pytz', type=('build', 'run'))
depends_on('py-cycler@0.9:', type=('build', 'run'))
depends_on('py-subprocess32', type=('build', 'run'), when='^python@:2.7')
depends_on('py-functools32', type=('build', 'run'), when='^python@2.7')
# ------ Optional GUI frameworks
depends_on('tk@8.3:', when='+tk') # not 8.6.0 or 8.6.1