Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions easybuild/easyconfigs/h/h5py/h5py-3.12.1-foss-2024a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
easyblock = 'PythonPackage'

name = 'h5py'
version = '3.12.1'

homepage = 'https://www.h5py.org/'
description = """HDF5 for Python (h5py) is a general-purpose Python interface to the Hierarchical Data Format library,
version 5. HDF5 is a versatile, mature scientific software library designed for the fast, flexible storage of enormous
amounts of data."""

toolchain = {'name': 'foss', 'version': '2024a'}
toolchainopts = {'usempi': True}

sources = [SOURCE_TAR_GZ]
checksums = ['326d70b53d31baa61f00b8aa5f95c2fcb9621a3ee8365d770c551a13dbbcbfdf']

builddependencies = [
('pkgconfig', '1.5.5', '-python'),
('Cython', '3.0.10'),
]
dependencies = [
('Python', '3.12.3'),
('SciPy-bundle', '2024.05'),
('mpi4py', '4.0.1'),
('HDF5', '1.14.5'),
]

# h5py's setup.py will disable setup_requires if H5PY_SETUP_REQUIRES is set to 0
# without this environment variable, pip will fetch the minimum numpy version h5py supports during install,
# even though SciPy-bundle provides a newer version that satisfies h5py's install_requires dependency.
preinstallopts = 'HDF5_MPI=ON HDF5_DIR="$EBROOTHDF5" H5PY_SETUP_REQUIRES=0 '

download_dep_fail = True
sanity_pip_check = True
use_pip = True

moduleclass = 'data'