Make sure the pkgutils script has no third party dependencies by default

This commit is contained in:
Veronica Berglyd Olsen
2025-01-16 21:40:20 +01:00
parent 0306701e6f
commit 0380a7fe72
3 changed files with 5 additions and 8 deletions
+3 -2
View File
@@ -22,11 +22,11 @@ from __future__ import annotations
import argparse
import PyInstaller.__main__
def runPyinstaller() -> None:
"""Run the pyinstaller."""
import PyInstaller.__main__
build = ["novelWriter.py", "--clean", "--windowed", "--onedir", "--noconfirm"]
build += ["--name", "novelwriter"]
build += ["--workpath", "build_bin"]
@@ -34,6 +34,7 @@ def runPyinstaller() -> None:
build += ["--hidden-import", "pyenchant"]
build += ["--add-data", "novelwriter/assets:assets"]
PyInstaller.__main__.run(build)
return