kivyterminal/py/gadget/tmp/gadget.spec

55 lines
1012 B
RPMSpec
Raw Normal View History

2023-10-18 10:08:41 +08:00
# -*- mode: python ; coding: utf-8 -*-
2023-12-05 11:11:59 +08:00
import dataui
duipath = os.path.dirname(dataui.__file__)
2023-10-18 10:08:41 +08:00
block_cipher = None
a = Analysis(
2023-12-05 11:11:59 +08:00
['../src/gadget.py'],
2023-10-18 10:08:41 +08:00
pathex=[],
binaries=[],
2023-12-05 11:11:59 +08:00
datas=[
(f'{duipath}/tmpl/bricks/*.*', 'dataui/tmpl/bricks')
],
2023-10-18 10:08:41 +08:00
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
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,
[],
2023-12-05 11:11:59 +08:00
exclude_binaries=True,
name='gadget',
2023-10-18 10:08:41 +08:00
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)
2023-12-05 11:11:59 +08:00
coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='gadget',
)