Files
aza/APP/spotify-recorder/SurovySpotifyRecorder.spec

61 lines
1.1 KiB
RPMSpec
Raw Normal View History

2026-03-25 14:14:07 +01:00
# -*- mode: python ; coding: utf-8 -*-
import os, sys
from PyInstaller.utils.hooks import collect_data_files
block_cipher = None
ctk_data = collect_data_files('customtkinter')
a = Analysis(
['main.py'],
pathex=[],
binaries=[],
datas=ctk_data + [('app.ico', '.')],
hiddenimports=[
'pyaudiowpatch',
'numpy',
'lameenc',
'mutagen',
'mutagen.mp3',
'mutagen.id3',
'psutil',
'customtkinter',
],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=['matplotlib', 'scipy', 'pandas', 'PIL', 'pytest'],
noarchive=False,
optimize=0,
cipher=block_cipher,
)
pyz = PYZ(a.pure, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
[],
exclude_binaries=True,
name="Surovy's Spotify Recorder",
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
icon='app.ico',
version_info=None,
)
coll = COLLECT(
exe,
a.binaries,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name="SurovySpotifyRecorder",
)