ELIC_Python-1-foss-2025b.eb 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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': '2025b'}
  7. dependencies = [
  8. ('Python', '3.13.5'),
  9. ('Python-bundle-PyPI', '2025.07'),
  10. ('SciPy-bundle', '2025.07'),
  11. ('matplotlib', '3.10.5'),
  12. ('GDAL', '3.11.3'),
  13. ('CDO', '2.5.3'),
  14. ('NCO', '5.3.6'),
  15. ('ncview', '2.1.11'),
  16. ('Jupyter-bundle', '20251112'),
  17. ('netcdf4-python', '1.7.2'),
  18. ('Cartopy', '0.25.0'),
  19. ('dask', '2025.9.1'),
  20. ('zarr', '3.1.5'),
  21. ('plotly.py', '6.5.0'),
  22. ('ESMPy', '8.9.0'),
  23. ('geopandas', '1.1.2'),
  24. ('h5netcdf', '1.7.3'),
  25. ('statsmodels', '0.14.6'),
  26. ('basemap', '2.0.0'),
  27. ]
  28. exts_defaultclass = 'PythonPackage'
  29. exts_default_options = {
  30. 'source_tmpl': '%(name)s-%(version)s.tar.gz',
  31. }
  32. postinstallcmds = [
  33. "mkdir %(installdir)s/bin",
  34. "mkdir %(installdir)s/lib",
  35. "cd %(installdir)s && " +
  36. #'pip install --upgrade pip && ' +
  37. 'pip install xesmf wget --prefix="%(installdir)s" '
  38. #'pip install --upgrade pip '
  39. ]
  40. modextrapaths = {
  41. 'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages',
  42. 'PYTHONUSERBASE': '',
  43. #'TK_LIBRARY': '$PYTHONPATH/../../../../../Tk/8.6.14-GCCcore-13.3.0/lib/tk8.6',
  44. #'TCL_LIBRARY': '$PYTHONPATH/../../../../../Tcl/8.6.14-GCCcore-13.3.0/lib/tcl8.6',
  45. }
  46. moduleclass = 'numlib'