Always append PATH on Windows (needed to dload mpi wrapper libs)

This commit is contained in:
Matthias Hochsteger 2024-05-08 12:39:58 +02:00
parent 79a6b56aae
commit 0929527ae3

View File

@ -35,8 +35,7 @@ if sys.platform.startswith('win'):
v = sys.version_info
if v.major == 3 and v.minor >= 8:
os.add_dll_directory(_netgen_bin_dir)
else:
os.environ['PATH'] += ';'+_netgen_bin_dir
os.environ['PATH'] += ';'+_netgen_bin_dir
del sys
del os