Add os.add_dll_directory cruft to verify-docstrings

This commit is contained in:
baldurk
2026-08-13 17:46:39 +01:00
parent e5f395497c
commit c15a5c2c66
+6
View File
@@ -29,6 +29,12 @@ sys.path.insert(0, os.path.abspath(binpath + 'Release/pymodules'))
os.environ["PATH"] = os.path.abspath(binpath + 'Development/') + os.pathsep + os.environ["PATH"]
os.environ["PATH"] = os.path.abspath(binpath + 'Release/') + os.pathsep + os.environ["PATH"]
if sys.platform == 'win32' and sys.version_info[1] >= 8:
for sub in ['Release', 'Development']:
path = os.path.abspath(binpath + sub)
if os.path.exists(path):
os.add_dll_directory(path)
# path to module libraries for linux
sys.path.insert(0, os.path.abspath('../build/lib'))