build(workspace): link cloud platform to runtime

This commit is contained in:
2026-07-12 14:09:54 +08:00
parent b739f6d175
commit 07b7c9fc48
2 changed files with 7 additions and 2 deletions
@@ -5,7 +5,7 @@
- Baseline: `uv build` -> root sdist and wheel built successfully.
- [x] 1.2 Add `[tool.uv.workspace]` membership to the root project while retaining `device-agent-runtime` as the root package.
- [x] 1.3 Create `packages/cloud-platform/pyproject.toml` for the `device-cloud-platform` distribution with explicit build and package-discovery metadata.
- [ ] 1.4 Declare `device-agent-runtime` as a workspace source dependency of `device-cloud-platform` without adding any reverse dependency.
- [x] 1.4 Declare `device-agent-runtime` as a workspace source dependency of `device-cloud-platform` without adding any reverse dependency.
## 2. Cloud Package Extraction
+6 -1
View File
@@ -3,7 +3,9 @@ name = "device-cloud-platform"
version = "0.1.0"
description = "Cloud scheduling, device pooling, plugins, and SDK for Device Agent Runtime."
requires-python = ">=3.14"
dependencies = []
dependencies = [
"device-agent-runtime==0.1.0",
]
[build-system]
requires = ["setuptools>=69"]
@@ -12,3 +14,6 @@ build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
include = ["cloud*"]
[tool.uv.sources]
device-agent-runtime = { workspace = true }