Files
writer-work-flow/packages/agents/pyproject.toml

29 lines
845 B
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[project]
name = "ww-agents"
version = "0.0.0"
requires-python = ">=3.12"
dependencies = [
"pydantic>=2.13",
"ww-shared",
"ww-llm-gateway",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["ww_agents"]
# Prompt 散文是包数据:必须随 wheel/sdist 分发,否则裸装 import 时 load_prompt
# 抛 PromptNotFoundError源码树 pytest 测不出,仅裸装暴露)。`artifacts` 显式声明
# 这些非 .py 文件为收录目标,确保任何 VCS/.gitignore 规则都不会把它们排除掉
# (见 docs/design/prompt-management.md §4/§6#16
artifacts = ["ww_agents/prompts/*.md"]
[tool.hatch.build.targets.sdist]
artifacts = ["ww_agents/prompts/*.md"]
[tool.uv.sources]
ww-shared = { workspace = true }
ww-llm-gateway = { workspace = true }