- 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>
59 lines
1.1 KiB
TOML
59 lines
1.1 KiB
TOML
[project]
|
|
name = "envbao"
|
|
dynamic = ["version"]
|
|
description = "Inject environment variables from an OpenBao server into your shell."
|
|
readme = "README.md"
|
|
license = "BSD-3-Clause"
|
|
license-files = ["LICENSE"]
|
|
requires-python = ">=3.13"
|
|
dependencies = []
|
|
|
|
[project.scripts]
|
|
envbao = "envbao.cli:main"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8",
|
|
"pytest-cov>=5",
|
|
"ruff>=0.6",
|
|
"mypy>=1.11",
|
|
"pyinstaller>=6.10",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.version]
|
|
path = "src/envbao/_version.py"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/envbao"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-ra --strict-markers"
|
|
|
|
[tool.coverage.run]
|
|
source = ["envbao"]
|
|
branch = true
|
|
|
|
[tool.coverage.report]
|
|
fail_under = 90
|
|
show_missing = true
|
|
exclude_lines = ["pragma: no cover", "if __name__ == .__main__.:"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
src = ["src", "tests"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "B", "UP", "S", "SIM"]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"tests/*" = ["S101", "S105", "S106", "S603", "S607"]
|
|
|
|
[tool.mypy]
|
|
strict = true
|
|
files = ["src/envbao"]
|