You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

51 lines
1.1 KiB

# -*- 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,
)