From 70c587f66e0d8f4af38d139029aa8a52cbda7a8d Mon Sep 17 00:00:00 2001 From: CorwinAnsley Date: Thu, 5 Sep 2024 12:43:54 +0100 Subject: [PATCH] added spec especially for piranhaGUI --- .../pyinstaller_build/piranhaGUI.spec | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 artifice/mac_build/pyinstaller_build/piranhaGUI.spec diff --git a/artifice/mac_build/pyinstaller_build/piranhaGUI.spec b/artifice/mac_build/pyinstaller_build/piranhaGUI.spec new file mode 100644 index 0000000..02285bc --- /dev/null +++ b/artifice/mac_build/pyinstaller_build/piranhaGUI.spec @@ -0,0 +1,57 @@ +# -*- mode: python ; coding: utf-8 -*- + + +block_cipher = None + + +a = Analysis( + ['../../artifice.pyw'], + pathex=[], + binaries=[], + datas=[('../../config.yml', '.'), ('../../resources', './resources')], + hiddenimports=[], + hookspath=[], + hooksconfig={}, + runtime_hooks=[], + excludes=[], + win_no_prefer_redirects=False, + win_private_assemblies=False, + cipher=block_cipher, + noarchive=False, +) +pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) + +exe = EXE( + pyz, + a.scripts, + [], + exclude_binaries=True, + name='piranhaGUIv1.5.5', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + console=False, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, + entitlements_file=None, + icon='../resources/piranha_resized.icns', +) +coll = COLLECT( + exe, + a.binaries, + a.zipfiles, + a.datas, + strip=False, + upx=True, + upx_exclude=[], + name='artifice', +) +app = BUNDLE( + coll, + name='piranhaGUIv1.5.5.app', + icon='../../resources/piranha_resized.icns', + bundle_identifier=None, +)