Skip to content

Commit

Permalink
Fixed unimportable h5geopy
Browse files Browse the repository at this point in the history
  • Loading branch information
kerim371 committed May 22, 2024
1 parent a60c880 commit 3d2c09e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/__init__.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ if version_info >= (3, 8, 0) and platform == 'win32':
os.add_dll_directory(p)
except (FileNotFoundError, OSError):
continue
else:
# PyBind11 submodule somehow may not load the dependecy library (see: https://github.com/pybind/pybind11/discussions/5131)
from ctypes import *
lib = cdll.LoadLibrary('libh5geo.so')

${PYTHON_INIT_PATH_VAR}

Expand Down

0 comments on commit 3d2c09e

Please sign in to comment.