From 3925aedb0a3b1cc4cd922ecd5242c319d32a3193 Mon Sep 17 00:00:00 2001 From: Joris Vaillant <joris.vaillant@inria.fr> Date: Tue, 9 Apr 2024 17:31:57 +0200 Subject: [PATCH] python: Add a hack in windows_dll_manager.py to find eigenpy.dll --- python/eigenpy/windows_dll_manager.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/eigenpy/windows_dll_manager.py b/python/eigenpy/windows_dll_manager.py index d1cc0950..8edb419f 100644 --- a/python/eigenpy/windows_dll_manager.py +++ b/python/eigenpy/windows_dll_manager.py @@ -11,9 +11,12 @@ def get_dll_paths(): RELATIVE_DLL_PATH1 = "..\\..\\..\\..\\bin" # lib/site-packages/package RELATIVE_DLL_PATH2 = "..\\..\\..\\bin" + # For unit test + RELATIVE_DLL_PATH3 = "..\\..\\bin" return [ os.path.join(os.path.dirname(__file__), RELATIVE_DLL_PATH1), os.path.join(os.path.dirname(__file__), RELATIVE_DLL_PATH2), + os.path.join(os.path.dirname(__file__), RELATIVE_DLL_PATH3), ] else: return eigenpy_paths.split(os.pathsep) -- GitLab