Files
kwcode/pyproject.toml
dashitongzhi b8d9abf630 docs: fix API docs and remove unused dependency
- README: remove misleading OpenAI /v1/chat/completions endpoint reference
  for gpt-4o vision example; code uses Anthropic Messages API format only
- pyproject.toml: remove unused pyperclip from multimodal extra
  (clipboard uses PIL.ImageGrab, not pyperclip)
2026-05-01 22:41:07 +08:00

65 lines
1.6 KiB
TOML

[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "kwcode"
version = "1.0.9"
description = "KwCode - Local-model coding agent with MoE expert pipeline"
requires-python = ">=3.10"
readme = "README.md"
license = "MIT"
keywords = ["coding-agent", "local-llm", "ollama", "code-generation"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Code Generators",
]
dependencies = [
"typer>=0.12.0",
"rich>=13.0.0",
"httpx>=0.27.0",
"psutil>=5.9.0",
"beautifulsoup4>=4.12.0",
"trafilatura>=1.12.0",
"pyyaml>=6.0",
"rank-bm25>=0.2.2",
"prompt-toolkit>=3.0.0",
"tree-sitter>=0.23.0",
"tree-sitter-python>=0.23.0",
]
[project.optional-dependencies]
rerank = ["sentence-transformers>=2.7.0"]
multimodal = ["Pillow>=10.0"]
local = ["llama-cpp-python>=0.2.90"]
full = [
"kwcode[local]",
]
dev = [
"pytest>=7.0.0",
"kwcode[full]",
]
[project.scripts]
kwcode = "kaiwu.cli.main:app"
[project.urls]
Homepage = "https://github.com/val1813/kwcode"
Repository = "https://github.com/val1813/kwcode"
Issues = "https://github.com/val1813/kwcode/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["kaiwu*"]
[tool.setuptools.package-data]
"kaiwu.builtin_experts" = ["*.yaml"]