From e9909273bad201a2f99227f1d360aac7176e62b5 Mon Sep 17 00:00:00 2001 From: JonShard Date: Sun, 11 Dec 2022 01:30:24 +0100 Subject: [PATCH] Add pyinstaller spec file --- .gitignore | 5 +++++ joker.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 .gitignore create mode 100644 joker.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ee745fa --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +.vscode + +build +dist +test.txt \ No newline at end of file diff --git a/joker.spec b/joker.spec new file mode 100644 index 0000000..7e5ac4d --- /dev/null +++ b/joker.spec @@ -0,0 +1,44 @@ +# -*- mode: python ; coding: utf-8 -*- + + +block_cipher = None + + +a = Analysis( + ['joker.py'], + pathex=[], + binaries=[], + datas=[('.\\jokes.txt', '.')], + 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, + a.binaries, + a.zipfiles, + a.datas, + [], + name='joker', + 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, +)