ELIC_Python-1-foss-2022b.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': '2022b'}
  7. builddependencies = [
  8. ('pkgconf', '1.9.3'),
  9. ]
  10. dependencies = [
  11. ('Python', '3.10.8'),
  12. #('Python-bundle-PyPI', '2024.06'),
  13. ('SciPy-bundle', '2023.02'),
  14. ('matplotlib', '3.7.0'),
  15. ('GDAL', '3.6.2'),
  16. ('CDO', '2.2.2'),
  17. ('NCO', '5.1.3'),
  18. ('ncview', '2.1.8'),
  19. ('Jupyter-bundle', '20230823'),
  20. ('netcdf4-python', '1.6.3'),
  21. #('Cartopy', '0.24.1'),
  22. ('dask', '2023.7.1'),
  23. ('geopandas', '0.12.2'),
  24. #('h5netcdf', '1.6.1'),
  25. ('statsmodels', '0.14.0'),
  26. ('plotly.py', '5.13.1'),
  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 wget --prefix="%(installdir)s" '
  37. #'pip install --upgrade pip '
  38. ]
  39. modextrapaths = {
  40. 'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages',
  41. 'PYTHONUSERBASE': '',
  42. 'TK_LIBRARY': '$PYTHONPATH/../../../../../Tk/8.6.12-GCCcore-12.2.0/lib/tk8.6',
  43. 'TCL_LIBRARY': '$PYTHONPATH/../../../../../Tcl/8.6.12-GCCcore-12.2.0/lib/tcl8.6',
  44. }
  45. moduleclass = 'numlib'