e913d0b67f
- --uninstall [--project] removes the harness target skill directory and drops the matching state entry; --install/--uninstall exclusive - safety guard (SPEC 6.6): the directory must hold a parseable SKILL.md whose front-matter name equals the directory, else refused, exit 2; unbundled (retired) skill names can still be removed by name - SPEC section 6 items 6.6-6.7, section 3 table/3.2, item 8.4 rewritten; README command block; 8 new tests (76 total, all checks green) Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
38 lines
995 B
TOML
38 lines
995 B
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "phronesis"
|
|
version = "0.2.0"
|
|
description = "A chest of skills: list them, install them into an agent harness (vibe, ...)"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = ["pyyaml>=6.0", "argcomplete>=3.3"]
|
|
|
|
[project.scripts]
|
|
phronesis = "phronesis.cli:main"
|
|
|
|
# The skills ship in the wheel as phronesis._skills mapped to the
|
|
# repository folder skill/, so the registry resolves the same paths from
|
|
# a checkout and from an installed package (SPEC.md 10.3).
|
|
[tool.setuptools]
|
|
packages = ["phronesis", "phronesis._skills"]
|
|
|
|
[tool.setuptools.package-dir]
|
|
"" = "src"
|
|
"phronesis._skills" = "skill"
|
|
|
|
[tool.setuptools.package-data]
|
|
"phronesis._skills" = ["**/*"]
|
|
|
|
[tool.setuptools.exclude-package-data]
|
|
"*" = ["*.pyc", "__pycache__/*", "**/__pycache__/*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["test"]
|
|
pythonpath = ["src"]
|
|
|
|
[tool.coverage.run]
|
|
omit = ["*/test/*", "*/__main__.py"]
|