- scripts/setup_claude_access.py: narrow envbao-claude policy/token and an exec_only claude.toml; optional merge of Claude Code settings - [security] exec_only refuses plain export mode and --no-redact - PyInstaller onedir build (~0.06s start-up vs ~1.4s onefile) - macOS .pkg, Debian/Ubuntu/Raspberry Pi OS .deb (pure-Python builder), tarball + scripts/install.sh; release pipeline updated - docs: claude-access, install matrix, releasing, usage, security Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
34 lines
764 B
RPMSpec
34 lines
764 B
RPMSpec
# -*- mode: python ; coding: utf-8 -*-
|
|
# PyInstaller spec: builds a one-directory application at dist/envbao/ (run dist/envbao/envbao).
|
|
# One-dir starts much faster than one-file because nothing is unpacked on every run.
|
|
# Usage: uv run pyinstaller envbao.spec --clean --noconfirm
|
|
a = Analysis(
|
|
["src/envbao/__main__.py"],
|
|
pathex=["src"],
|
|
binaries=[],
|
|
datas=[],
|
|
hiddenimports=[],
|
|
excludes=["tkinter", "unittest", "pydoc", "doctest"],
|
|
noarchive=False,
|
|
)
|
|
pyz = PYZ(a.pure)
|
|
exe = EXE(
|
|
pyz,
|
|
a.scripts,
|
|
[],
|
|
exclude_binaries=True,
|
|
name="envbao",
|
|
debug=False,
|
|
strip=False,
|
|
upx=False,
|
|
console=True,
|
|
)
|
|
coll = COLLECT(
|
|
exe,
|
|
a.binaries,
|
|
a.datas,
|
|
strip=False,
|
|
upx=False,
|
|
name="envbao",
|
|
)
|