Files
LinedanceAfspiller/linedance-app/build_windows.spec
2026-04-10 15:14:13 +02:00

112 lines
2.3 KiB
Python

# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(
['main.py'],
pathex=['.'],
binaries=[],
datas=[],
hiddenimports=[
# PyQt6 — skal alle med eksplicit
'PyQt6',
'PyQt6.QtCore',
'PyQt6.QtGui',
'PyQt6.QtWidgets',
'PyQt6.QtNetwork',
'PyQt6.sip',
'PyQt6.QtPrintSupport',
# UI moduler
'ui.main_window',
'ui.playlist_panel',
'ui.library_panel',
'ui.library_manager',
'ui.themes',
'ui.vu_meter',
'ui.scan_worker',
'ui.tag_editor',
'ui.login_dialog',
'ui.settings_dialog',
'ui.playlist_manager',
'ui.next_up_bar',
# Player
'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',
'watchdog.observers.winapi',
'watchdog.events',
'watchdog.tricks',
'vlc',
'sqlite3',
'json',
'threading',
'pathlib',
'urllib.request',
'urllib.parse',
],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[
'tkinter',
'matplotlib',
'pandas',
'scipy',
'PIL',
'IPython',
'jupyter',
],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
[],
exclude_binaries=True,
name='LineDancePlayer',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=True, # Slå til så du kan se fejlbeskeder
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon=None,
)
coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='LineDancePlayer',
)