Skip to content

Commit b58e728

Browse files
connor-spclaude
andcommitted
chore: switch build backend to flit and bump version to 0.3.0
Move from uv_build to flit_core with dynamic version and description. flit derives both from the package module, so add a module docstring (→ description) and `__version__` (→ version) to src/ymprint/__init__.py, and declare `dynamic = ["version", "description"]` in pyproject. Bump to 0.3.0 for release: several backward-compatible features have merged since the 0.2.0 release (multi-page templates, scoped text styles, explicit list syntax, graceful CLI error handling). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent e414d49 commit b58e728

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

pyproject.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[project]
22
name = "ymprint"
3-
version = "0.2.0"
4-
description = "Desktop publishing in YAML with Python"
3+
dynamic = ["version", "description"]
54
readme = "README.md"
65
authors = [
76
{ name = "Connor Ferster", email = "connor@structuralpython.com" }
@@ -23,8 +22,11 @@ dependencies = [
2322
ym = "ymprint.cli.main:app"
2423

2524
[build-system]
26-
requires = ["uv_build>=0.11.16,<0.12.0"]
27-
build-backend = "uv_build"
25+
requires = ["flit_core>=3.9,<4"]
26+
build-backend = "flit_core.buildapi"
27+
28+
[tool.flit.module]
29+
name = "ymprint"
2830

2931
[dependency-groups]
3032
dev = [

src/ymprint/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
"""Desktop publishing in YAML with Python."""
2+
3+
__version__ = "0.3.0"
4+
15
from ymprint import config
2-
from ymprint import blocks
6+
from ymprint import blocks

uv.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)