From 3db97620b8486dc7267e524bf8bd9feafb747772 Mon Sep 17 00:00:00 2001 From: Jeff Whitaker Date: Wed, 26 Jan 2022 18:39:06 -0700 Subject: [PATCH] add /opt/homebrew to default search path --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4070543a7..76eceb455 100644 --- a/setup.py +++ b/setup.py @@ -385,7 +385,7 @@ def _populate_hdf5_info(dirstosearch, inc_dirs, libs, lib_dirs): dirstosearch.append(os.environ["CONDA_PREFIX"]) # linux,macosx dirstosearch.append(os.path.join(os.environ["CONDA_PREFIX"],'Library')) # windows dirstosearch += [os.path.expanduser('~'), '/usr/local', '/sw', '/opt', - '/opt/local', '/usr'] + '/opt/local', '/opt/homebrew', '/usr'] # try nc-config first if USE_NCCONFIG and HAS_NCCONFIG: # Try nc-config.