Skip to content

Commit

Permalink
dynamic versioning from file
Browse files Browse the repository at this point in the history
  • Loading branch information
Laikulo authored Nov 18, 2024
1 parent 6e27119 commit 4a61382
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ build-backend = "setuptools.build_meta"

[project]
name = "klipper-klippy-l"
version = "0.12.0.dev287"
license.text = "GPL-3.0-only"
readme = "README-py.md"
description = "Klipper's host daemon - Unofficial repackage, includes patches"
Expand All @@ -17,6 +16,8 @@ dependencies= [
"markupsafe==1.1.1"
]

dynamic = [ "version" ]

[project.optional-dependencies]
resonanceTest = [
"numpy",
Expand All @@ -30,6 +31,11 @@ homepage = "https://github.com/laikulo/klippy"
klipper-klippy = "klippy.klippy:main"
klipper_klippy = "klippy.klippy:main"

[tool.setuptools.dynamic]
version = {
file = "klippy/.version"
}

[tool.setuptools.packages.find]
include = [
"klippy",
Expand Down

0 comments on commit 4a61382

Please sign in to comment.