diff --git a/pyproject.toml b/pyproject.toml index 4f7f27b..db2b04b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,6 @@ [project] name = "ymprint" -version = "0.2.0" -description = "Desktop publishing in YAML with Python" +dynamic = ["version", "description"] readme = "README.md" authors = [ { name = "Connor Ferster", email = "connor@structuralpython.com" } @@ -23,8 +22,11 @@ dependencies = [ ym = "ymprint.cli.main:app" [build-system] -requires = ["uv_build>=0.11.16,<0.12.0"] -build-backend = "uv_build" +requires = ["flit_core>=3.9,<4"] +build-backend = "flit_core.buildapi" + +[tool.flit.module] +name = "ymprint" [dependency-groups] dev = [ diff --git a/src/ymprint/__init__.py b/src/ymprint/__init__.py index e17dff0..dedd19d 100644 --- a/src/ymprint/__init__.py +++ b/src/ymprint/__init__.py @@ -1,2 +1,6 @@ +"""Desktop publishing in YAML with Python.""" + +__version__ = "0.3.0" + from ymprint import config -from ymprint import blocks \ No newline at end of file +from ymprint import blocks diff --git a/uv.lock b/uv.lock index d51ff82..5cc4092 100644 --- a/uv.lock +++ b/uv.lock @@ -587,7 +587,6 @@ wheels = [ [[package]] name = "ymprint" -version = "0.2.0" source = { editable = "." } dependencies = [ { name = "jinja2" },