Make sure the pkgutils script has no third party dependencies by default
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -29,11 +29,9 @@ import sys
|
||||
|
||||
from utils.common import (
|
||||
ROOT_DIR, SETUP_DIR, checkAssetsExist, copyPackageFiles, copySourceCode,
|
||||
extractVersion, makeCheckSum, toUpload
|
||||
extractVersion, makeCheckSum, toUpload, writeFile
|
||||
)
|
||||
|
||||
from tests.tools import writeFile
|
||||
|
||||
SIGN_KEY = "D6A9F6B8F227CF7C6F6D1EE84DBBE4B734B0BD08"
|
||||
|
||||
|
||||
|
||||
@@ -30,9 +30,7 @@ import zipfile
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from utils.common import ROOT_DIR, SETUP_DIR, copySourceCode, extractVersion, writeFile
|
||||
|
||||
from tests.tools import readFile
|
||||
from utils.common import ROOT_DIR, SETUP_DIR, copySourceCode, extractVersion, readFile, writeFile
|
||||
|
||||
|
||||
def prepareCode(outDir: Path) -> None:
|
||||
|
||||
Reference in New Issue
Block a user