Fix pyproject.toml: replace invalid package-data syntax with include-package-data

The original package-data configuration used invalid TOML syntax with
empty string and wildcard keys that are not supported by setuptools.
This caused pip install to fail with TOMLDecodeError.

Changed to use include-package-data = true which automatically includes
all non-Python files in the package directories (pricing.json, SKILL.md).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
nvaldez
2026-10-23 23:03:47 +02:00
parent c38579fb1e
commit 27fb34dd78
+1 -4
View File
@@ -40,10 +40,7 @@ dev = [
[tool.setuptools]
packages = ["agent_cost_estimator", "agent_cost_estimator.harnesses", "agent_cost_estimator.skill"]
[tool.setuptools.package-data]
agent_cost_estimator = ["pricing.json"]
"" = ["SKILL.md"]
include-package-data = true
[tool.pytest.ini_options]
testpaths = ["tests"]