ELIC_Python-1-foss-2024a.eb 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. easyblock = 'PythonBundle'
  2. name = 'ELIC_Python'
  3. version = '1'
  4. homepage = 'https://gogs.elic.ucl.ac.be'
  5. description = """This repo provides additional Python and R extensions for ELIC ecosystem."""
  6. toolchain = {'name': 'foss', 'version': '2024a'}
  7. dependencies = [
  8. ('Python', '3.12.3'),
  9. ('Python-bundle-PyPI', '2024.06'),
  10. ('SciPy-bundle', '2024.05'),
  11. ('matplotlib', '3.9.2'),
  12. ('GDAL', '3.10.0'),
  13. ('CDO', '2.4.4'),
  14. ('NCO', '5.2.9'),
  15. ('ncview', '2.1.11'),
  16. ('Jupyter-bundle', '20250530'),
  17. ('netcdf4-python', '1.7.1.post2'),
  18. ('Cartopy', '0.24.1'),
  19. ('dask', '2024.9.1'),
  20. ('geopandas', '1.0.1'),
  21. ('h5netcdf', '1.6.1'),
  22. ('statsmodels', '0.14.4'),
  23. ('plotly.py', '5.24.1'),
  24. ('ESMPy', '8.7.0'),
  25. ('zarr', '2.18.4'),
  26. ('basemap', '1.4.1'),
  27. ('NCL', '6.6.2'),
  28. #('proplot', '0.9.91'),
  29. ]
  30. exts_defaultclass = 'PythonPackage'
  31. exts_default_options = {
  32. 'source_tmpl': '%(name)s-%(version)s.tar.gz',
  33. }
  34. postinstallcmds = [
  35. "mkdir %(installdir)s/bin",
  36. "mkdir %(installdir)s/lib",
  37. "cd %(installdir)s && " +
  38. #'pip install --upgrade pip && ' +
  39. 'pip install xesmf wget --prefix="%(installdir)s" '
  40. #'pip install --upgrade pip '
  41. ]
  42. modextrapaths = {
  43. 'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages',
  44. 'PYTHONUSERBASE': '',
  45. 'TK_LIBRARY': '$PYTHONPATH/../../../../../Tk/8.6.14-GCCcore-13.3.0/lib/tk8.6',
  46. 'TCL_LIBRARY': '$PYTHONPATH/../../../../../Tcl/8.6.14-GCCcore-13.3.0/lib/tcl8.6',
  47. }
  48. moduleclass = 'numlib'