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:
+1
-4
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user