only add dll directory on windows
This commit is contained in:
parent
1f20479af3
commit
3d50c6fe0b
1 changed files with 4 additions and 3 deletions
|
@ -167,6 +167,7 @@ def init_library():
|
|||
abs_path = getabspath()
|
||||
|
||||
#add all potential paths
|
||||
if os.name=='nt':
|
||||
os.add_dll_directory(dir_path)
|
||||
os.add_dll_directory(abs_path)
|
||||
os.add_dll_directory(os.getcwd())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue