From 77cc843f9a8f6647eca54d36d77f57f42d76ca4f Mon Sep 17 00:00:00 2001 From: nilason Date: Sun, 26 Sep 2021 19:52:28 +0200 Subject: [PATCH] test remove win patch --- python/grass/ctypes/ctypesgen/libraryloader.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python/grass/ctypes/ctypesgen/libraryloader.py b/python/grass/ctypes/ctypesgen/libraryloader.py index 16d4daeffa2..867c9c06104 100644 --- a/python/grass/ctypes/ctypesgen/libraryloader.py +++ b/python/grass/ctypes/ctypesgen/libraryloader.py @@ -322,11 +322,11 @@ def getplatformpaths(self, libname): class WindowsLibraryLoader(LibraryLoader): name_formats = ["%s.dll", "lib%s.dll", "%slib.dll", "%s"] - def __init__(self): - super().__init__() - for p in os.getenv("PATH").split(";"): - if os.path.exists(p) and hasattr(os, 'add_dll_directory'): - os.add_dll_directory(p) + # def __init__(self): + # super().__init__() + # for p in os.getenv("PATH").split(";"): + # if os.path.exists(p) and hasattr(os, 'add_dll_directory'): + # os.add_dll_directory(p) class Lookup(LibraryLoader.Lookup): def __init__(self, path):