diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-07-17 19:23:22 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-07-17 19:23:22 +0200 |
| commit | 203cd9d42180ef21b938d224705783949194f03a (patch) | |
| tree | 2be50f5c59e5e6aa83792e370ff52dd07f68168f /quiz.spec | |
| parent | 06d5047012d79a3e986ab46598df56002d7a9e81 (diff) | |
| download | quiz-203cd9d42180ef21b938d224705783949194f03a.tar.gz quiz-203cd9d42180ef21b938d224705783949194f03a.zip | |
add sounds and github action to build a windows executable
Diffstat (limited to 'quiz.spec')
| -rw-r--r-- | quiz.spec | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/quiz.spec b/quiz.spec new file mode 100644 index 0000000..c458e89 --- /dev/null +++ b/quiz.spec @@ -0,0 +1,50 @@ +# -*- mode: python ; coding: utf-8 -*- + + +block_cipher = None + + +a = Analysis( + ['quiz.py'], + pathex=[], + binaries=[], + datas=[('Correct.mp3', '.'), ('Wrong.mp3', '.')], + 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='quiz', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + console=True, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, + entitlements_file=None, +) +coll = COLLECT( + exe, + a.binaries, + a.zipfiles, + a.datas, + strip=False, + upx=True, + upx_exclude=[], + name='quiz', +) |
