python: deepseek-harness SDK and runtime carrier packages

This commit is contained in:
imccyu
2026-07-11 14:08:24 +08:00
parent 67fe6c10b6
commit ade150b719
31 changed files with 2507 additions and 8 deletions

31
python/sdk/pyproject.toml Normal file
View File

@@ -0,0 +1,31 @@
[build-system]
requires = ["hatchling>=1.24.0"]
build-backend = "hatchling.build"
[project]
name = "deepseek-harness"
version = "0.0.0-dev"
description = "Python SDK for DeepSeek Harness"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "BSD-3-Clause" }
dependencies = [
"pydantic>=2.12",
"deepseek-harness-runtime-bin==0.0.0-dev",
]
[dependency-groups]
test = ["pytest>=8.0"]
[tool.pytest.ini_options]
addopts = "-q"
testpaths = ["tests"]
[tool.hatch.build.targets.wheel]
packages = ["src/deepseek_harness"]
# Editable: the runtime package's executables are injected into its source
# tree AFTER install (by scripts/build-exe-for-python-sdk.ts or a manual copy); an
# editable install sees them immediately instead of freezing a wheel snapshot.
[tool.uv.sources]
deepseek-harness-runtime-bin = { path = "../sdk-runtime", editable = true }