From 9afdb51c34cd670b48ef307ab090165c89a45115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Thu, 2 Nov 2023 14:11:12 +0100 Subject: [PATCH] ci(macos): remove webui folder from PyInstaller spec for aw-server-rust (now bundled in binary) --- aw.spec | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/aw.spec b/aw.spec index 58875560..32188eac 100644 --- a/aw.spec +++ b/aw.spec @@ -3,13 +3,12 @@ import os import platform -import subprocess import shlex +import subprocess from pathlib import Path -import flask_restx - import aw_core +import flask_restx current_release = subprocess.run( shlex.split("git describe --tags --abbrev=0"), @@ -30,7 +29,6 @@ restx_path = Path(os.path.dirname(flask_restx.__file__)) aws_location = Path("aw-server") aw_server_rust_location = Path("aw-server-rust") aw_server_rust_bin = aw_server_rust_location / "target/package/aw-server-rust" -aw_server_rust_webui = aw_server_rust_location / "target/package/static" aw_qt_location = Path("aw-qt") awa_location = Path("aw-watcher-afk") aww_location = Path("aw-watcher-window") @@ -82,8 +80,7 @@ aw_qt_a = Analysis( datas=[ (aw_qt_location / "resources/aw-qt.desktop", "aw_qt/resources"), (aw_qt_location / "media", "aw_qt/media"), - ] - + ([(aw_server_rust_webui, "aw_server_rust/static")] if not skip_rust else []), + ], hiddenimports=[], hookspath=[], runtime_hooks=[],