ed3d21fd54
- every bundled skill ships MEMORIES.md (memory-skill template, name substituted); autotest frontmatter check enforces its presence (SPEC 4.7) - copy_skill: MEMORIES.md is add-only - installed from the bundle when missing, never overwritten, on both install and update; --force does not change this (SPEC 4.7, 6.8, 7.6); uninstall removes it with the directory (SPEC 6.9, sad by design) - FIX bug in --update: it passed the skill directory where the skills root was expected, copying the bundle into skills/<name>/<name>/ and never refreshing the real SKILL.md; now updates the real files and heals the legacy nested directory on the next copy (SPEC 7.7) - tests strengthened to assert file contents, not just output: 84 total, all checks green; e2e-verified via the installed pipx CLI 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.3.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"]
|