46 lines
924 B
RPMSpec
46 lines
924 B
RPMSpec
|
# -*- mode: python ; coding: utf-8 -*-
|
||
|
|
||
|
|
||
|
a = Analysis(
|
||
|
['app.py'],
|
||
|
pathex=[],
|
||
|
binaries=[],
|
||
|
datas=[],
|
||
|
hiddenimports=['zeroconf._utils.ipaddress',
|
||
|
'zeroconf._handlers.answers', 'pyserial', 'wx'],
|
||
|
hookspath=[],
|
||
|
hooksconfig={},
|
||
|
runtime_hooks=[],
|
||
|
excludes=[],
|
||
|
noarchive=False,
|
||
|
optimize=0,
|
||
|
)
|
||
|
pyz = PYZ(a.pure)
|
||
|
|
||
|
exe = EXE(
|
||
|
pyz,
|
||
|
a.scripts,
|
||
|
a.binaries,
|
||
|
a.datas,
|
||
|
[],
|
||
|
name='BTClockOTA',
|
||
|
debug=False,
|
||
|
bootloader_ignore_signals=False,
|
||
|
strip=False,
|
||
|
upx=True,
|
||
|
upx_exclude=[],
|
||
|
runtime_tmpdir=None,
|
||
|
console=False,
|
||
|
disable_windowed_traceback=False,
|
||
|
argv_emulation=False,
|
||
|
target_arch="universal2",
|
||
|
codesign_identity=None,
|
||
|
entitlements_file=None,
|
||
|
icon=['update-icon.ico'],
|
||
|
)
|
||
|
|
||
|
app = BUNDLE(exe,
|
||
|
name='BTClockOTA.app',
|
||
|
icon='update-icon.icns',
|
||
|
bundle_identifier=None)
|