easyblock = 'PythonPackage' name = 'h5py' version = '3.1.0' 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': 'GCC', 'version': '10.2.0'} toolchainopts = {'usempi': True} sources = [SOURCE_TAR_GZ] checksums = ['1e2516f190652beedcb8c7acfa1c6fa92d99b42331cbef5e5c7ec2d65b0fc3c2'] builddependencies = [('pkgconfig', '1.5.1', '-python')] dependencies = [ ('Python', '3.8.6'), ('SciPy-bundle', '2020.11'), ('HDF5', '1.10.6', '-AOCC-3.1.0-OpenMPI-4.1.1-Python-3.8.6'), ] use_pip = True sanity_pip_check = True download_dep_fail = True # 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 ' moduleclass = 'data'