Skip to content

Commit 142dfc7

Browse files
jswhit2jswhit2
authored andcommitted
fix glob for plugins on windows
1 parent 27f42f2 commit 142dfc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ def _populate_hdf5_info(dirstosearch, inc_dirs, libs, lib_dirs):
474474
copied_plugins=False
475475
if os.environ.get("NETCDF_PLUGIN_DIR"):
476476
plugin_dir = os.environ.get("NETCDF_PLUGIN_DIR")
477-
plugins = glob.glob(os.path.join(plugin_dir, "lib__nc*"))
477+
plugins = glob.glob(os.path.join(plugin_dir, "*__nc*"))
478478
if not plugins:
479479
print('no plugin files in NETCDF_PLUGIN_DIR, not installing...')
480480
data_files = []

0 commit comments

Comments
 (0)