47 lines
1.4 KiB
Python
47 lines
1.4 KiB
Python
# -*- mode: python ; coding: utf-8 -*-
|
|
|
|
block_cipher = None
|
|
|
|
import os
|
|
a = Analysis(scripts=['gui_g_reconverter\\__main__.py'],
|
|
pathex=['gui_g_reconverter'],
|
|
binaries=[],
|
|
datas=[('GUI_g_reconverter.ico', '.')],
|
|
hiddenimports=[],
|
|
hookspath=[],
|
|
hooksconfig={},
|
|
runtime_hooks=[],
|
|
excludes=[],
|
|
win_no_prefer_redirects=False,
|
|
win_private_assemblies=False,
|
|
cipher=None,
|
|
noarchive=False)
|
|
|
|
pyz = PYZ(a.pure, a.zipped_data, cipher=None)
|
|
|
|
exe = EXE(pyz,
|
|
a.scripts,
|
|
[], # Binaries/Datas usually handled by Analysis/COLLECT
|
|
exclude_binaries=True, # Let COLLECT handle binaries in one-dir
|
|
name='GUI_g_converter',
|
|
debug=False,
|
|
bootloader_ignore_signals=False,
|
|
strip=False,
|
|
upx=True, # Use UPX based on config
|
|
runtime_tmpdir=None,
|
|
console=False, # Set console based on GUI checkbox
|
|
disable_windowed_traceback=False,
|
|
target_arch=None,
|
|
codesign_identity=None,
|
|
entitlements_file=None,
|
|
icon='GUI_g_reconverter.ico')
|
|
|
|
coll = COLLECT(exe,
|
|
a.binaries,
|
|
a.zipfiles,
|
|
a.datas,
|
|
strip=False,
|
|
upx=True, # Match UPX setting
|
|
upx_exclude=[],
|
|
name='GUI_g_converter')
|