From 8aa2e639980c3e0a151ae66e618e086724e9444e Mon Sep 17 00:00:00 2001 From: max Date: Wed, 9 Sep 2026 00:21:05 +0200 Subject: [PATCH] build: add PyInstaller build specification with embedded assets and icon --- Catser.spec | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Catser.spec diff --git a/Catser.spec b/Catser.spec new file mode 100644 index 0000000..29774c6 --- /dev/null +++ b/Catser.spec @@ -0,0 +1,39 @@ +# -*- mode: python ; coding: utf-8 -*- + + +a = Analysis( + ['run_catser.py'], + pathex=[], + binaries=[], + datas=[('catser/assets', 'catser/assets')], + hiddenimports=[], + hookspath=[], + hooksconfig={}, + runtime_hooks=[], + excludes=[], + noarchive=False, + optimize=0, +) +pyz = PYZ(a.pure) + +exe = EXE( + pyz, + a.scripts, + a.binaries, + a.datas, + [], + name='Catser', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + upx_exclude=[], + runtime_tmpdir=None, + console=True, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, + entitlements_file=None, + icon=['catser.ico'], +)