diff --git a/pyproject.toml b/pyproject.toml index 54dbae266..595727dd1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "lightspeed-stack" -version = "0.0.1" +dynamic = ["version"] description = "LLM tooling stack" authors = [] requires-python = ">=3.11.1,<=3.12.10" @@ -13,6 +13,10 @@ dependencies = [ "rich>=14.0.0", ] +[tool.pdm.version] +source = "file" +path = "src/version.py" + [project.urls] Homepage = "https://github.com/lightspeed-core/lightspeed-stack" Issues = "https://github.com/lightspeed-core/lightspeed-stack/issues" @@ -49,6 +53,10 @@ source-roots = "src" [tool.pdm] distribution = true +[build-system] +requires = ["pdm-backend"] +build-backend = "pdm.backend" + [tool.pdm.scripts] start = "make run" test-unit = "make test-unit"