From 9cba66abb2099db45ee59773f6333c8c1b34433a Mon Sep 17 00:00:00 2001 From: machinewrapped Date: Mon, 27 Nov 2023 19:21:06 +0100 Subject: [PATCH] Update for MakeDistro --- gui-subtrans.spec | 9 +-------- makedistro.bat | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/gui-subtrans.spec b/gui-subtrans.spec index 3b37fda1..0a1f4f6d 100644 --- a/gui-subtrans.spec +++ b/gui-subtrans.spec @@ -1,9 +1,6 @@ # -*- mode: python ; coding: utf-8 -*- -block_cipher = None - - a = Analysis( ['gui-subtrans.py'], pathex=[], @@ -14,12 +11,9 @@ a = Analysis( 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) +pyz = PYZ(a.pure) exe = EXE( pyz, @@ -41,7 +35,6 @@ exe = EXE( coll = COLLECT( exe, a.binaries, - a.zipfiles, a.datas, strip=False, upx=True, diff --git a/makedistro.bat b/makedistro.bat index a432a837..fcf523d6 100644 --- a/makedistro.bat +++ b/makedistro.bat @@ -1,3 +1,3 @@ call envsubtrans/scripts/activate -pip install -r requirements.txt +pip install --upgrade -r requirements.txt pyinstaller --add-data "theme/*;theme/" --add-data "instructions*;." --add-data "LICENSE;." --add-data "gui-subtrans.ico;." gui-subtrans.py