From e00513169814eaab46b4e67f754812f8fcb95fdb Mon Sep 17 00:00:00 2001 From: AlexAplin Date: Tue, 12 Mar 2024 17:07:44 -0400 Subject: [PATCH] BUild with --onefile --- src/nndownload.spec | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/nndownload.spec b/src/nndownload.spec index 99c8038..56326ea 100644 --- a/src/nndownload.spec +++ b/src/nndownload.spec @@ -18,13 +18,16 @@ pyz = PYZ(a.pure) exe = EXE( pyz, a.scripts, + a.binaries, + a.datas, [], - exclude_binaries=True, name='nndownload', debug=False, bootloader_ignore_signals=False, strip=False, upx=True, + upx_exclude=[], + runtime_tmpdir=None, console=True, disable_windowed_traceback=False, argv_emulation=False, @@ -32,12 +35,3 @@ exe = EXE( codesign_identity=None, entitlements_file=None, ) -coll = COLLECT( - exe, - a.binaries, - a.datas, - strip=False, - upx=True, - upx_exclude=[], - name='nndownload', -)