Videre
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
# -*- mode: python ; coding: utf-8 -*-
|
||||
from PyInstaller.utils.hooks import collect_all, collect_submodules
|
||||
|
||||
block_cipher = None
|
||||
|
||||
# Saml ALT fra PyQt6 inkl. plugins og DLL-filer
|
||||
pyqt6_datas, pyqt6_binaries, pyqt6_hiddenimports = collect_all('PyQt6')
|
||||
|
||||
a = Analysis(
|
||||
['main.py'],
|
||||
pathex=['.'],
|
||||
binaries=[],
|
||||
datas=[],
|
||||
hiddenimports=[
|
||||
# PyQt6 — skal alle med eksplicit
|
||||
'PyQt6',
|
||||
binaries=pyqt6_binaries,
|
||||
datas=pyqt6_datas,
|
||||
hiddenimports=pyqt6_hiddenimports + [
|
||||
'PyQt6.sip',
|
||||
'PyQt6.QtCore',
|
||||
'PyQt6.QtGui',
|
||||
'PyQt6.QtWidgets',
|
||||
'PyQt6.QtNetwork',
|
||||
'PyQt6.sip',
|
||||
'PyQt6.QtPrintSupport',
|
||||
# UI moduler
|
||||
'ui.main_window',
|
||||
'ui.playlist_panel',
|
||||
@@ -29,50 +29,23 @@ a = Analysis(
|
||||
'ui.settings_dialog',
|
||||
'ui.playlist_manager',
|
||||
'ui.next_up_bar',
|
||||
# Player
|
||||
# Player + local
|
||||
'player.player',
|
||||
# Local
|
||||
'local.local_db',
|
||||
'local.tag_reader',
|
||||
'local.file_watcher',
|
||||
# Biblioteker
|
||||
'mutagen',
|
||||
'mutagen.mp3',
|
||||
'mutagen.id3',
|
||||
'mutagen.flac',
|
||||
'mutagen.mp4',
|
||||
'mutagen.oggvorbis',
|
||||
'mutagen.ogg',
|
||||
'mutagen.wave',
|
||||
'mutagen.aiff',
|
||||
'mutagen.asf',
|
||||
'watchdog',
|
||||
'watchdog.observers',
|
||||
'watchdog.observers.fsevents',
|
||||
'watchdog.observers.inotify',
|
||||
'mutagen', 'mutagen.mp3', 'mutagen.id3', 'mutagen.flac',
|
||||
'mutagen.mp4', 'mutagen.oggvorbis', 'mutagen.ogg',
|
||||
'mutagen.wave', 'mutagen.aiff', 'mutagen.asf',
|
||||
'watchdog', 'watchdog.observers', 'watchdog.events',
|
||||
'watchdog.observers.winapi',
|
||||
'watchdog.events',
|
||||
'watchdog.tricks',
|
||||
'vlc',
|
||||
'sqlite3',
|
||||
'json',
|
||||
'threading',
|
||||
'pathlib',
|
||||
'urllib.request',
|
||||
'urllib.parse',
|
||||
'vlc', 'sqlite3',
|
||||
],
|
||||
hookspath=[],
|
||||
hooksconfig={},
|
||||
runtime_hooks=[],
|
||||
excludes=[
|
||||
'tkinter',
|
||||
'matplotlib',
|
||||
'pandas',
|
||||
'scipy',
|
||||
'PIL',
|
||||
'IPython',
|
||||
'jupyter',
|
||||
],
|
||||
excludes=['tkinter', 'matplotlib', 'pandas', 'scipy', 'IPython'],
|
||||
win_no_prefer_redirects=False,
|
||||
win_private_assemblies=False,
|
||||
cipher=block_cipher,
|
||||
@@ -90,8 +63,8 @@ exe = EXE(
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
console=True, # Slå til så du kan se fejlbeskeder
|
||||
upx=False, # UPX kan give problemer med PyQt6 DLL-filer
|
||||
console=True, # Vis fejlbeskeder
|
||||
disable_windowed_traceback=False,
|
||||
target_arch=None,
|
||||
codesign_identity=None,
|
||||
@@ -105,7 +78,7 @@ coll = COLLECT(
|
||||
a.zipfiles,
|
||||
a.datas,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx=False,
|
||||
upx_exclude=[],
|
||||
name='LineDancePlayer',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user