update
This commit is contained in:
60
APP/spotify-recorder/SurovySpotifyRecorder.spec
Normal file
60
APP/spotify-recorder/SurovySpotifyRecorder.spec
Normal file
@@ -0,0 +1,60 @@
|
||||
# -*- 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",
|
||||
)
|
||||
Reference in New Issue
Block a user