We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5df6eba commit 4fd29b8Copy full SHA for 4fd29b8
pyinstaller/pyi_rth_casadi.py
@@ -4,7 +4,7 @@
4
# Python 3.8+ uses a restricted DLL search path on Windows. PyInstaller adds
5
# _MEIPASS to the search path but not subdirectories. casadi's companion DLLs
6
# live in _MEIPASS/casadi/, so register that directory explicitly.
7
-if sys.platform == 'win32':
8
- casadi_dir = os.path.join(sys._MEIPASS, 'casadi')
+if sys.platform == "win32":
+ casadi_dir = os.path.join(sys._MEIPASS, "casadi")
9
if os.path.isdir(casadi_dir):
10
os.add_dll_directory(casadi_dir)
0 commit comments