mirror of
https://github.com/val1813/kwcode.git
synced 2026-09-03 06:34:30 +08:00
tree-sitter and tree-sitter-python provide pre-built wheels for Windows/Mac/Linux on Python 3.10-3.12, so no compiler needed. AST engine is now always installed with base package. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
63 lines
1.5 KiB
TOML
63 lines
1.5 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "kwcode"
|
|
version = "1.0.8"
|
|
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]
|
|
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"]
|