# -*- mode: python ; coding: utf-8 -*- """PyInstaller spec for cellar-cli – portable all-in-one binary (no GTK, stdlib only).""" a = Analysis( ["cellar-cli.py"], pathex=[], binaries=[], datas=[], hiddenimports=["client"], hookspath=[], hooksconfig={}, runtime_hooks=[], excludes=[ # GUI toolkits – not needed "tkinter", "_tkinter", "gi", # clearly unused heavy modules "unittest", "pydoc", "doctest", "idlelib", "antigravity", "turtle", "curses", ], noarchive=False, ) pyz = PYZ(a.pure, a.zipped_data) exe = EXE( pyz, a.scripts, a.binaries, a.datas, [], name="cellar-cli", debug=False, bootloader_ignore_signals=False, strip=True, upx=True, upx_exclude=[], runtime_tmpdir=None, # extract to temp on each run → self-contained console=True, disable_windowed_traceback=False, argv_emulation=False, target_arch=None, codesign_identity=None, entitlements_file=None, )