64 lines
1.0 KiB
Python
64 lines
1.0 KiB
Python
# -*- mode: python ; coding: utf-8 -*-
|
|
|
|
from pathlib import Path
|
|
import PySide6
|
|
|
|
pyside_dir = Path(PySide6.__file__).parent
|
|
|
|
eglfs_kms_plugin = (
|
|
pyside_dir
|
|
/ "Qt"
|
|
/ "plugins"
|
|
/ "egldeviceintegrations"
|
|
/ "libqeglfs-kms-integration.so"
|
|
)
|
|
|
|
a = Analysis(
|
|
["main.py"],
|
|
pathex=[],
|
|
binaries=[
|
|
(
|
|
str(eglfs_kms_plugin),
|
|
"PySide6/Qt/plugins/egldeviceintegrations",
|
|
),
|
|
],
|
|
datas=[],
|
|
hiddenimports=[],
|
|
hookspath=[],
|
|
hooksconfig={},
|
|
runtime_hooks=[],
|
|
excludes=[],
|
|
noarchive=False,
|
|
optimize=0,
|
|
)
|
|
|
|
pyz = PYZ(a.pure)
|
|
|
|
exe = EXE(
|
|
pyz,
|
|
a.scripts,
|
|
[],
|
|
exclude_binaries=True,
|
|
name="car_ui",
|
|
debug=False,
|
|
bootloader_ignore_signals=False,
|
|
strip=False,
|
|
upx=True,
|
|
console=False,
|
|
disable_windowed_traceback=False,
|
|
argv_emulation=False,
|
|
target_arch=None,
|
|
codesign_identity=None,
|
|
entitlements_file=None,
|
|
)
|
|
|
|
coll = COLLECT(
|
|
exe,
|
|
a.binaries,
|
|
a.datas,
|
|
strip=False,
|
|
upx=True,
|
|
upx_exclude=[],
|
|
name="car_ui",
|
|
)
|