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': '2022b'} builddependencies = [ ('pkgconf', '1.9.3'), ] dependencies = [ ('Python', '3.10.8'), #('Python-bundle-PyPI', '2024.06'), ('SciPy-bundle', '2023.02'), ('matplotlib', '3.7.0'), ('GDAL', '3.6.2'), ('CDO', '2.2.2'), ('NCO', '5.1.3'), ('ncview', '2.1.8'), ('Jupyter-bundle', '20230823'), ('netcdf4-python', '1.6.3'), #('Cartopy', '0.24.1'), ('dask', '2023.7.1'), ('geopandas', '0.12.2'), #('h5netcdf', '1.6.1'), ('statsmodels', '0.14.0'), ('plotly.py', '5.13.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 wget --prefix="%(installdir)s" ' #'pip install --upgrade pip ' ] modextrapaths = { 'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages', 'PYTHONUSERBASE': '', 'TK_LIBRARY': '$PYTHONPATH/../../../../../Tk/8.6.12-GCCcore-12.2.0/lib/tk8.6', 'TCL_LIBRARY': '$PYTHONPATH/../../../../../Tcl/8.6.12-GCCcore-12.2.0/lib/tcl8.6', } moduleclass = 'numlib'