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