BoxedMan/boxedman.spec

66 lines
1.3 KiB
Python

# -*- mode: python ; coding: utf-8 -*-
from PyInstaller.utils.hooks import collect_data_files, collect_submodules
block_cipher = None
datas = [
('config', 'config'),
]
hiddenimports = [
'pymunk',
'pygame_ce',
'cv2',
'PySide6',
'PySide6.QtCore',
'PySide6.QtGui',
'PySide6.QtWidgets',
] + collect_submodules('pymunk')
a = Analysis(
['main.py'],
pathex=['.'],
binaries=[],
datas=datas,
hiddenimports=hiddenimports,
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=['tkinter', 'matplotlib', 'scipy', 'PySide6.QtWebEngineCore', 'PySide6.QtPdf'],
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='BoxedMan',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=True, # Set to True for logging / diagnostics, or False for windowed only
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)
coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='BoxedMan',
)