easyblock = 'PythonBundle' name = 'ELIC_Python' version = '1' homepage = 'https://gogs.elic.ucl.ac.be' description = """This repo provides additional Python and R extensions for ELIC ecosystem.""" toolchain = {'name': 'foss', 'version': '2024a'} dependencies = [ ('Python', '3.12.3'), ('Python-bundle-PyPI', '2024.06'), ('SciPy-bundle', '2024.05'), ('matplotlib', '3.9.2'), ('GDAL', '3.10.0'), ('CDO', '2.4.4'), ('NCO', '5.2.9'), ('NCL', '6.6.2'), ('ncview', '2.1.11'), ('Jupyter-bundle', '20240522'), ('netcdf4-python', '1.7.1.post2'), ('Cartopy', '0.24.1'), ('dask', '2024.9.1'), ('geopandas', '1.0.1'), ('h5netcdf', '1.6.1'), ('statsmodels', '0.14.4'), ('plotly.py', '5.24.1'), ('ESMPy', '8.7.0'), #('proplot', '0.9.91'), ('zarr', '2.18.4'), ('basemap', '1.4.1'), ] exts_defaultclass = 'PythonPackage' exts_default_options = { 'source_tmpl': '%(name)s-%(version)s.tar.gz', } postinstallcmds = [ "mkdir %(installdir)s/bin", "mkdir %(installdir)s/lib", "cd %(installdir)s && " + #'pip install --upgrade pip && ' + 'pip install xesmf wget --prefix="%(installdir)s" ' #'pip install --upgrade pip ' ] modextrapaths = { 'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages', 'PYTHONUSERBASE': '', 'TK_LIBRARY': '$PYTHONPATH/../../../../../Tk/8.6.14-GCCcore-13.3.0/lib/tk8.6', 'TCL_LIBRARY': '$PYTHONPATH/../../../../../Tcl/8.6.14-GCCcore-13.3.0/lib/tcl8.6', } moduleclass = 'numlib'