From 1ea5cad01ffaf7eaf50abba3bbb8c7cfbe45c5b9 Mon Sep 17 00:00:00 2001 From: Carsten Kvist Date: Sun, 12 Apr 2026 16:23:39 +0200 Subject: [PATCH] Build --- linedance-app/build_windows.spec | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/linedance-app/build_windows.spec b/linedance-app/build_windows.spec index 00bcba4f..f22fcccb 100644 --- a/linedance-app/build_windows.spec +++ b/linedance-app/build_windows.spec @@ -1,5 +1,4 @@ # -*- mode: python ; coding: utf-8 -*- -from PyInstaller.utils.hooks import collect_data_files, collect_dynamic_libs block_cipher = None @@ -58,7 +57,6 @@ a = Analysis( hookspath=[], runtime_hooks=[], excludes=[ - # Ubrugte store pakker 'tkinter', 'tk', 'tcl', 'matplotlib', 'pandas', 'scipy', 'numpy', 'IPython', 'jupyter', 'notebook', @@ -94,12 +92,8 @@ a = Analysis( 'PyQt6.QtRemoteObjects', 'PyQt6.QtScxml', 'PyQt6.QtStateMachine', - 'email', 'html', 'http', 'urllib', - 'xml', 'xmlrpc', 'unittest', 'doctest', 'pdb', - 'difflib', 'inspect', - 'pydoc', 'py_compile', 'compileall', - 'distutils', 'setuptools', 'pkg_resources', + 'pydoc', ], cipher=block_cipher, noarchive=False, @@ -118,7 +112,7 @@ exe = EXE( debug=False, bootloader_ignore_signals=False, strip=False, - upx=True, # UPX komprimering — reducer størrelse ~30% + upx=True, upx_exclude=[ 'vcruntime140.dll', 'msvcp140.dll', @@ -132,4 +126,4 @@ exe = EXE( entitlements_file=None, icon=None, onefile=True, -) \ No newline at end of file +)