chore: uv packaging + README refresh, prep for TestPyPI
- pyproject: metadata (license/classifiers/urls), cryptography runtime dep, optional [nats] extra, PEP 735 dependency-groups dev (pytest/pyright), hatch wheel target src/agenthub - regenerate uv.lock; uv sync/build verified (sdist+wheel, no node_modules) - README: real repo structure, channel matrix, uv workflows, TestPyPI flow - dist/ ignored
This commit is contained in:
1 parent
86642e07c9
commit
0e585c1d5a
3 files changed
+434
-32
No files matched your search
+35
-2
@@ -1,9 +1,33 @@
|
||||
[project]
|
||||
name = "agenthub"
|
||||
version = "0.1.0"
|
||||
description = "IM/NATS to local ACP (Agent Client Protocol) bridge"
|
||||
description = "IM/NATS to local ACP (Agent Client Protocol) bridge - drive Claude Code, Codex, Gemini CLI, OpenCode from messaging front-ends"
|
||||
readme = "README.md"
|
||||
license = { text = "MIT" }
|
||||
authors = [{ name = "OpenBot", email = "openbot@vxquant.com" }]
|
||||
requires-python = ">=3.11"
|
||||
dependencies = [] # M0 零依赖:stdlib only(subprocess/json/asyncio 待定)
|
||||
keywords = ["acp", "agent", "claude", "codex", "nats", "wecom", "wechat", "llm"]
|
||||
classifiers = [
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Topic :: Communications :: Chat",
|
||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||
]
|
||||
dependencies = [
|
||||
"cryptography>=42",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
# future: nats channel needs a NATS client (M1 lands nats_service.py)
|
||||
nats = ["nats-py>=2"]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://gitea.vxquant.com/vxquant/agenthub"
|
||||
Documentation = "https://gitea.vxquant.com/vxquant/agenthub/src/branch/main/docs/DESIGN.md"
|
||||
|
||||
[project.scripts]
|
||||
agenthub = "agenthub.__main__:main"
|
||||
@@ -12,5 +36,14 @@ agenthub = "agenthub.__main__:main"
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/agenthub"]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pytest>=8",
|
||||
"pyright>=1.1.390",
|
||||
]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
Reference in new issue
Block a user