Build
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
# -*- mode: python ; coding: utf-8 -*-
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
from PyInstaller.utils.hooks import collect_data_files, collect_dynamic_libs
|
|
||||||
|
|
||||||
block_cipher = None
|
block_cipher = None
|
||||||
|
|
||||||
@@ -58,7 +57,6 @@ a = Analysis(
|
|||||||
hookspath=[],
|
hookspath=[],
|
||||||
runtime_hooks=[],
|
runtime_hooks=[],
|
||||||
excludes=[
|
excludes=[
|
||||||
# Ubrugte store pakker
|
|
||||||
'tkinter', 'tk', 'tcl',
|
'tkinter', 'tk', 'tcl',
|
||||||
'matplotlib', 'pandas', 'scipy', 'numpy',
|
'matplotlib', 'pandas', 'scipy', 'numpy',
|
||||||
'IPython', 'jupyter', 'notebook',
|
'IPython', 'jupyter', 'notebook',
|
||||||
@@ -94,12 +92,8 @@ a = Analysis(
|
|||||||
'PyQt6.QtRemoteObjects',
|
'PyQt6.QtRemoteObjects',
|
||||||
'PyQt6.QtScxml',
|
'PyQt6.QtScxml',
|
||||||
'PyQt6.QtStateMachine',
|
'PyQt6.QtStateMachine',
|
||||||
'email', 'html', 'http', 'urllib',
|
|
||||||
'xml', 'xmlrpc',
|
|
||||||
'unittest', 'doctest', 'pdb',
|
'unittest', 'doctest', 'pdb',
|
||||||
'difflib', 'inspect',
|
'pydoc',
|
||||||
'pydoc', 'py_compile', 'compileall',
|
|
||||||
'distutils', 'setuptools', 'pkg_resources',
|
|
||||||
],
|
],
|
||||||
cipher=block_cipher,
|
cipher=block_cipher,
|
||||||
noarchive=False,
|
noarchive=False,
|
||||||
@@ -118,7 +112,7 @@ exe = EXE(
|
|||||||
debug=False,
|
debug=False,
|
||||||
bootloader_ignore_signals=False,
|
bootloader_ignore_signals=False,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=True, # UPX komprimering — reducer størrelse ~30%
|
upx=True,
|
||||||
upx_exclude=[
|
upx_exclude=[
|
||||||
'vcruntime140.dll',
|
'vcruntime140.dll',
|
||||||
'msvcp140.dll',
|
'msvcp140.dll',
|
||||||
|
|||||||
Reference in New Issue
Block a user