52 lines
957 B
Python
52 lines
957 B
Python
# -*- mode: python ; coding: utf-8 -*-
|
|
|
|
from pathlib import Path
|
|
|
|
|
|
spec_dir = Path(SPECPATH)
|
|
|
|
|
|
a = Analysis(
|
|
[str(spec_dir / 'main.py')],
|
|
pathex=[str(spec_dir), str(spec_dir.parent)],
|
|
binaries=[],
|
|
datas=[],
|
|
hiddenimports=[
|
|
'canvas',
|
|
'icons',
|
|
'main_window',
|
|
'models',
|
|
'panel_mapping_generator',
|
|
'unfolding',
|
|
],
|
|
hookspath=[],
|
|
hooksconfig={},
|
|
runtime_hooks=[],
|
|
excludes=[],
|
|
noarchive=False,
|
|
optimize=0,
|
|
)
|
|
pyz = PYZ(a.pure)
|
|
|
|
exe = EXE(
|
|
pyz,
|
|
a.scripts,
|
|
a.binaries,
|
|
a.datas,
|
|
[],
|
|
name='LEDMapper',
|
|
debug=False,
|
|
bootloader_ignore_signals=False,
|
|
strip=False,
|
|
upx=True,
|
|
upx_exclude=[],
|
|
runtime_tmpdir=None,
|
|
console=False,
|
|
disable_windowed_traceback=False,
|
|
argv_emulation=False,
|
|
target_arch=None,
|
|
codesign_identity=None,
|
|
entitlements_file=None,
|
|
icon=str(spec_dir / 'assets' / 'ledmapper.ico'),
|
|
)
|