feat(packaging) + chore(workplan): complete T02 for CYA-WP-0004 — implemented setuptools_scm for dynamic versioning

This commit is contained in:
2026-05-26 22:46:24 +02:00
parent 379c68097f
commit 2f1fba9767
4 changed files with 30 additions and 12 deletions

View File

@@ -1,10 +1,10 @@
[build-system]
requires = ["setuptools>=64", "wheel"]
requires = ["setuptools>=64", "wheel", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "can-you-assist"
version = "0.1.0"
dynamic = ["version"]
description = "Console-native, backend-agnostic LLM assistant for practical local work from the shell. MVP slice."
readme = "README.md"
requires-python = ">=3.10"
@@ -44,3 +44,8 @@ markers = [
"safety: core safety and risk classifier invariants (always run)",
]
[tool.setuptools_scm]
write_to = "src/cya/_version.py"
version_scheme = "guess-next-dev"
local_scheme = "node-and-date"