refactor: Migrate CLI and API components to use castle-core for configuration and manifest handling

This commit is contained in:
2026-02-22 22:54:38 -08:00
parent 6d0332e32b
commit 41d4c574cb
31 changed files with 1699 additions and 904 deletions

25
core/pyproject.toml Normal file
View File

@@ -0,0 +1,25 @@
[project]
name = "castle-core"
version = "0.1.0"
description = "Castle platform core library - manifest models, config, and generators"
requires-python = ">=3.11"
dependencies = [
"pyyaml>=6.0.0",
"pydantic>=2.0.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/castle_core"]
[dependency-groups]
dev = [
"pytest>=7.0.0",
"pyyaml>=6.0.0",
]
[tool.ruff.lint.isort]
known-first-party = ["castle_core"]