Skip to content

Commit

Permalink
Merge pull request h5py#2053 from ngam/patch-1
Browse files Browse the repository at this point in the history
BLD: better error message when building from source
  • Loading branch information
tacaswell authored Feb 11, 2022
2 parents adf2f11 + 838cff0 commit fe226cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup_configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ def _find_hdf5_compiler_settings(mpi=False):
if os.name != 'nt':
print(
"Building h5py requires pkg-config unless the HDF5 path "
"is explicitly specified", file=sys.stderr
"is explicitly specified using the environment variable HDF5_DIR. "
"For more information and details, "
"see https://docs.h5py.org/en/stable/build.html#custom-installation", file=sys.stderr
)
raise

Expand Down

0 comments on commit fe226cb

Please sign in to comment.