cdc209536f
- new script python/src/init/init.py: locates the register-python-argcomplete that belongs to the running interpreter (venv bin, NOT the resolve()d symlink target - proven by a live pipx run), appends the managed hook block to ~/.bashrc between # BEGIN/END daedalus init markers, idempotent; --bashrc, --dry-run; Windows notice; zsh warning - per-script spec python/src/init/spec.md (SPEC 6.11/6.12), tests python/tests/test_init_script.py (13; the plain test_init.py name is taken by daedalus/tests) - registry entry, README row + section, pyproject packaging (daedalus.init), CHANGELOG 0.10.0, version pins Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
55 lines
1.6 KiB
TOML
55 lines
1.6 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "daedalus"
|
|
version = "0.10.0"
|
|
description = "Template for daedalus: loose scripts in one repo, run with: daedalus <name> [args...]"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = ["argcomplete>=3.3"]
|
|
|
|
[project.scripts]
|
|
daedalus = "daedalus.cli:main"
|
|
|
|
# The script folders are installed under daedalus/_library/ with their
|
|
# repository-relative paths, so registry paths resolve the same way (SPEC.md 9).
|
|
[tool.setuptools]
|
|
packages = [
|
|
"daedalus",
|
|
"daedalus.daedalus_logging",
|
|
"daedalus.gpgtools",
|
|
"daedalus.hello",
|
|
"daedalus.init",
|
|
"daedalus._library.python.src",
|
|
"daedalus._library.bash",
|
|
"daedalus._library.powershell",
|
|
"daedalus._library.batch",
|
|
]
|
|
|
|
[tool.setuptools.package-dir]
|
|
"daedalus.gpgtools" = "python/src/gpgtools"
|
|
"daedalus.hello" = "python/src/hello"
|
|
"daedalus.init" = "python/src/init"
|
|
"daedalus._library.python.src" = "python/src"
|
|
"daedalus._library.bash" = "bash"
|
|
"daedalus._library.powershell" = "powershell"
|
|
"daedalus._library.batch" = "batch"
|
|
|
|
[tool.setuptools.package-data]
|
|
"daedalus._library.python.src" = ["**/*"]
|
|
"daedalus._library.bash" = ["*.sh"]
|
|
"daedalus._library.powershell" = ["*.ps1"]
|
|
"daedalus._library.batch" = ["*.bat"]
|
|
|
|
[tool.setuptools.exclude-package-data]
|
|
"*" = ["*.pyc", "__pycache__/*", "**/__pycache__/*", ".gitkeep"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["ci/tests", "daedalus/tests", "python/tests", "bash/tests"]
|
|
pythonpath = ["."]
|
|
|
|
[tool.coverage.run]
|
|
omit = ["*/tests/*", "*/__main__.py"]
|