Some checks failed
Build / test on ubuntu-latest (py-3.9) (push) Failing after 2m36s
Build / typecheck (push) Successful in 1m38s
Build / test on macos-latest (py-3.9) (push) Has been cancelled
Build / test on windows-latest (py-3.9) (push) Has been cancelled
CodeQL / Analyze (python) (push) Failing after 1s
41 lines
870 B
Python
41 lines
870 B
Python
import platform
|
|
|
|
block_cipher = None
|
|
|
|
a = Analysis(
|
|
["aw_watcher_window/__main__.py"],
|
|
pathex=[],
|
|
binaries=[("aw_watcher_window/aw-watcher-window-macos", "aw_watcher_window")] if platform.system() == "Darwin" else [],
|
|
datas=[
|
|
("aw_watcher_window/printAppStatus.jxa", "aw_watcher_window"),
|
|
],
|
|
hiddenimports=[],
|
|
hookspath=[],
|
|
runtime_hooks=[],
|
|
excludes=[],
|
|
win_no_prefer_redirects=False,
|
|
win_private_assemblies=False,
|
|
cipher=block_cipher,
|
|
)
|
|
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
|
|
exe = EXE(
|
|
pyz,
|
|
a.scripts,
|
|
exclude_binaries=True,
|
|
name="aw-watcher-window",
|
|
contents_directory=".",
|
|
debug=False,
|
|
strip=False,
|
|
upx=True,
|
|
console=True,
|
|
)
|
|
coll = COLLECT(
|
|
exe,
|
|
a.binaries,
|
|
a.zipfiles,
|
|
a.datas,
|
|
strip=False,
|
|
upx=True,
|
|
name="aw-watcher-window",
|
|
)
|