matplotlib-3.3.3-intel-2020b-Python-3.8.6.eb 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. easyblock = 'PythonBundle'
  2. name = 'matplotlib'
  3. version = '3.3.3'
  4. versionsuffix = '-Python-%(pyver)s'
  5. homepage = 'https://matplotlib.org'
  6. description = """matplotlib is a python 2D plotting library which produces publication quality figures in a variety of
  7. hardcopy formats and interactive environments across platforms. matplotlib can be used in python scripts, the python
  8. and ipython shell, web application servers, and six graphical user interface toolkits."""
  9. toolchain = {'name': 'intel', 'version': '2020b'}
  10. builddependencies = [
  11. ('pkg-config', '0.29.2'),
  12. ]
  13. dependencies = [
  14. ('Python', '3.8.6'),
  15. ('SciPy-bundle', '2020.11', versionsuffix),
  16. ('libpng', '1.6.37'),
  17. ('freetype', '2.10.3'),
  18. ('Tkinter', '%(pyver)s'),
  19. ]
  20. use_pip = True
  21. check_ldshared = True
  22. sanity_pip_check = True
  23. exts_list = [
  24. ('Cycler', '0.10.0', {
  25. 'modulename': 'cycler',
  26. 'source_tmpl': 'cycler-%(version)s.tar.gz',
  27. 'source_urls': ['https://pypi.python.org/packages/source/C/Cycler'],
  28. 'checksums': ['cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8'],
  29. }),
  30. ('kiwisolver', '1.1.0', {
  31. 'source_urls': ['https://pypi.python.org/packages/source/k/kiwisolver'],
  32. 'checksums': ['53eaed412477c836e1b9522c19858a8557d6e595077830146182225613b11a75'],
  33. }),
  34. (name, version, {
  35. 'prebuildopts': "export CPLUS_INCLUDE_PATH=$EBROOTFREETYPE/include/freetype2:${CPLUS_INCLUDE_PATH} && ",
  36. 'preinstallopts': "export CPLUS_INCLUDE_PATH=$EBROOTFREETYPE/include/freetype2:${CPLUS_INCLUDE_PATH} && ",
  37. 'source_urls': ['https://pypi.python.org/packages/source/m/matplotlib'],
  38. 'checksums': ['ffe2f9cdcea1086fc414e82f42271ecf1976700b8edd16ca9d376189c6d93aee'],
  39. }),
  40. ]
  41. sanity_check_commands = [
  42. """python -c 'import matplotlib; matplotlib.use("Agg"); import matplotlib.pyplot' """,
  43. "python -c 'from mpl_toolkits.mplot3d import Axes3D'",
  44. ]
  45. # use non-interactive plotting backend as default
  46. # see https://matplotlib.org/tutorials/introductory/usage.html#what-is-a-backend
  47. modextravars = {'MPLBACKEND': 'Agg'}
  48. moduleclass = 'vis'