From e216f3e4fec124638d5878517aaa7932506d7587 Mon Sep 17 00:00:00 2001 From: Peter Baker Date: Thu, 25 May 2023 22:33:31 -0400 Subject: [PATCH] Pyinstaller spec file for Linux. --- src/ygt-linux-x86-64.spec | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 src/ygt-linux-x86-64.spec diff --git a/src/ygt-linux-x86-64.spec b/src/ygt-linux-x86-64.spec new file mode 100755 index 0000000..741d55c --- /dev/null +++ b/src/ygt-linux-x86-64.spec @@ -0,0 +1,44 @@ +# -*- mode: python ; coding: utf-8 -*- + + +block_cipher = None + + +a = Analysis( + ['ygt.py'], + pathex=[], + binaries=[], + datas=[('ygt/icons/*.png', 'icons'), ('ygt/fonts/*.ttf', 'fonts')], + hiddenimports=[], + hookspath=['hooks'], + 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, + a.binaries, + a.zipfiles, + a.datas, + [], + name='ygt', + 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, +)