diff options
| -rw-r--r-- | .github/workflows/build-windows.yml | 1 | ||||
| -rw-r--r-- | quiz.spec | 19 |
2 files changed, 6 insertions, 14 deletions
diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index b024bbd..04816e4 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -15,7 +15,6 @@ jobs: uses: fischerling/pyinstaller-action-windows@main with: path: . - single_file: True - uses: actions/upload-artifact@v3 with: @@ -1,9 +1,7 @@ # -*- mode: python ; coding: utf-8 -*- - block_cipher = None - a = Analysis( ['quiz.py'], pathex=[], @@ -19,18 +17,23 @@ a = Analysis( 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, [], - exclude_binaries=True, name='quiz', debug=False, bootloader_ignore_signals=False, strip=False, upx=True, + upx_exclude=[], + runtime_tmpdir=None, console=True, disable_windowed_traceback=False, argv_emulation=False, @@ -38,13 +41,3 @@ exe = EXE( codesign_identity=None, entitlements_file=None, ) -coll = COLLECT( - exe, - a.binaries, - a.zipfiles, - a.datas, - strip=False, - upx=True, - upx_exclude=[], - name='quiz', -) |
