Skip to content

Commit

Permalink
fix: add missing import to pyinstaller spec (#256)
Browse files Browse the repository at this point in the history
Signed-off-by: Morgan Epp <60796713+epmog@users.noreply.github.com>
  • Loading branch information
epmog committed Mar 28, 2024
1 parent a63f3ae commit a81694f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/pyinstaller/deadline_cli.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# -*- mode: python -*-
import os
import sys

from pathlib import Path
from PyInstaller.utils.hooks import collect_all
Expand Down Expand Up @@ -42,7 +43,7 @@ if sys.platform == "win32":
for name, path, _ in cli_a.binaries:
if name == "python3.dll":
break
if not (name.startswith("python") and name.endswith(".dll")):
if not (name.startswith("python3") and name.endswith(".dll")):
continue
python3_dll = str(Path(path).parent / "python3.dll")
break
Expand Down

0 comments on commit a81694f

Please sign in to comment.