Skip to content
Snippets Groups Projects
Verified Commit dfd918f5 authored by Christoph Lehmann's avatar Christoph Lehmann Committed by Lars Bilke
Browse files

[App] Corrected OGS_BIN_DIR

parent fb2d813a
No related branches found
No related tags found
No related merge requests found
...@@ -67,10 +67,10 @@ binaries_list = [ ...@@ -67,10 +67,10 @@ binaries_list = [
] ]
if "PEP517_BUILD_BACKEND" not in os.environ: if "PEP517_BUILD_BACKEND" not in os.environ:
if platform.system() == "Windows": OGS_BIN_DIR = os.path.join(os.path.join(os.path.dirname(__file__), "..", "bin"))
os.add_dll_directory(os.path.join(os.path.dirname(__file__), "bin"))
OGS_BIN_DIR = os.path.join(os.path.join(os.path.dirname(__file__), "bin")) if platform.system() == "Windows":
os.add_dll_directory(OGS_BIN_DIR)
def _program(name, args): def _program(name, args):
return subprocess.run([os.path.join(OGS_BIN_DIR, name)] + args).returncode return subprocess.run([os.path.join(OGS_BIN_DIR, name)] + args).returncode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment