add spec
This commit is contained in:
parent
3ec309662a
commit
f524243291
27
car_ui.spec
27
car_ui.spec
@ -1,10 +1,27 @@
|
||||
# -*- 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'],
|
||||
["main.py"],
|
||||
pathex=[],
|
||||
binaries=[],
|
||||
binaries=[
|
||||
(
|
||||
str(eglfs_kms_plugin),
|
||||
"PySide6/Qt/plugins/egldeviceintegrations",
|
||||
),
|
||||
],
|
||||
datas=[],
|
||||
hiddenimports=[],
|
||||
hookspath=[],
|
||||
@ -14,6 +31,7 @@ a = Analysis(
|
||||
noarchive=False,
|
||||
optimize=0,
|
||||
)
|
||||
|
||||
pyz = PYZ(a.pure)
|
||||
|
||||
exe = EXE(
|
||||
@ -21,7 +39,7 @@ exe = EXE(
|
||||
a.scripts,
|
||||
[],
|
||||
exclude_binaries=True,
|
||||
name='car_ui',
|
||||
name="car_ui",
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
@ -33,6 +51,7 @@ exe = EXE(
|
||||
codesign_identity=None,
|
||||
entitlements_file=None,
|
||||
)
|
||||
|
||||
coll = COLLECT(
|
||||
exe,
|
||||
a.binaries,
|
||||
@ -40,5 +59,5 @@ coll = COLLECT(
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
name='car_ui',
|
||||
name="car_ui",
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user