[project]
name = "witty-compat"
version = "0.2.0"
description = "openEuler 南向硬件兼容性分析 — Agent + 工具集"
license = { text = "MulanPSL-2.0" }
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
    "pyyaml>=6.0",
    "aiohttp>=3.9",
    "requests>=2.28",
]
keywords = ["openeuler", "compatibility", "hardware", "ai", "inference"]

[project.optional-dependencies]
bench = ["pandas", "numpy"]

[project.scripts]
witty-compat-bench = "tools.benchmark:main"
witty-compat-tune = "tuner.orchestrator:main"
witty-compat-ops = "tools.run_ops:main"
witty-compat-setup = "tools.setup:setup"

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
packages = { find = { where = ["."] } }

[tool.setuptools.package-data]
"*" = ["agents/*.md", "knowledge/branches/*.yaml", "knowledge/environments/*.yaml", "skills/**/*"]

[tool.pytest.ini_options]
testpaths = ["test"]