Switch UI to HTML based tools
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled

This commit is contained in:
2026-08-12 04:56:02 +03:30
parent 7c50480324
commit f1d9693966
19 changed files with 1523 additions and 489 deletions

14
tests/test_packaging.py Normal file
View File

@@ -0,0 +1,14 @@
from pathlib import Path
def test_pyinstaller_spec_collects_webview_and_local_assets():
spec = Path("packaging/xlsx_clean.spec").read_text(encoding="utf-8")
assert 'collect_all("webview")' in spec
assert 'collect_all("dearpygui")' not in spec
assert '"ui"), "xlsx_clean/ui")' in spec
assert '"fonts"), "xlsx_clean/fonts")' in spec
assert 'if sys.platform == "win32":' in spec
assert 'collect_all("clr_loader")' in spec
for hidden_import in ('"clr"', '"clr_loader"', '"pythonnet"'):
assert hidden_import in spec