Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgen-lentz committed Oct 9, 2024
1 parent 2c2db54 commit e36319a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions amplpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
except Exception as exp:
raise exp

if platform.system().startswith(("Windows", "MSYS", "CYGWIN", "MINGW")):
os.environ["Path"] += os.path.join(os.path.dirname(__file__), "amplpython", "cppinterface", "lib", "amd64")
#if platform.system().startswith(("Windows", "MSYS", "CYGWIN", "MINGW")):
# os.environ["Path"] += os.path.join(os.path.dirname(__file__), "amplpython", "cppinterface", "lib", "amd64")

if hasattr(os, 'add_dll_directory'):
os.add_dll_directory(os.path.join(os.path.dirname(__file__), "amplpython", "cppinterface", "lib", "amd64"))
#if hasattr(os, 'add_dll_directory'):
# os.add_dll_directory(os.path.join(os.path.dirname(__file__), "amplpython", "cppinterface", "lib", "amd64"))

from _amplpy import OutputHandler, Kind
from _amplpy import ErrorHandler
Expand Down

0 comments on commit e36319a

Please sign in to comment.