Build
This commit is contained in:
@@ -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,
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user