52 lines
943 B
RPMSpec
52 lines
943 B
RPMSpec
|
# -*- mode: python ; coding: utf-8 -*-
|
||
|
|
||
|
|
||
|
a = Analysis(
|
||
|
['app.py'],
|
||
|
pathex=[],
|
||
|
binaries=[],
|
||
|
datas=[],
|
||
|
hiddenimports=['zeroconf._utils.ipaddress', 'zeroconf._handlers.answers'],
|
||
|
hookspath=[],
|
||
|
hooksconfig={},
|
||
|
runtime_hooks=[],
|
||
|
excludes=[],
|
||
|
noarchive=False,
|
||
|
optimize=0,
|
||
|
)
|
||
|
pyz = PYZ(a.pure)
|
||
|
|
||
|
exe = EXE(
|
||
|
pyz,
|
||
|
a.scripts,
|
||
|
[],
|
||
|
exclude_binaries=True,
|
||
|
name='BTClockOTA',
|
||
|
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,
|
||
|
icon=['update-icon.icns'],
|
||
|
)
|
||
|
coll = COLLECT(
|
||
|
exe,
|
||
|
a.binaries,
|
||
|
a.datas,
|
||
|
strip=False,
|
||
|
upx=True,
|
||
|
upx_exclude=[],
|
||
|
name='BTClockOTA',
|
||
|
)
|
||
|
app = BUNDLE(
|
||
|
coll,
|
||
|
name='BTClockOTA.app',
|
||
|
icon='update-icon.icns',
|
||
|
bundle_identifier=None,
|
||
|
)
|