diff --git a/pyproject.toml b/pyproject.toml index d91f193..ed21eca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" @@ -17,6 +16,8 @@ dependencies= [ "markupsafe==1.1.1" ] +dynamic = [ "version" ] + [project.optional-dependencies] resonanceTest = [ "numpy", @@ -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",