diff --git a/laserstudio/__init__.py b/laserstudio/__init__.py index d5fea17..302f7aa 100644 --- a/laserstudio/__init__.py +++ b/laserstudio/__init__.py @@ -4,5 +4,5 @@ Hardware evaluation tool developed by the Donjon """ -__version__ = "1.0.0dev3" +__version__ = "0.0.0" __author__ = "Olivier Hériveaux, Michaël Mouchous" diff --git a/pyproject.toml b/pyproject.toml index 45d199c..1edcf4b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "laserstudio" -version = "1.0.0dev3" +version = "0.0.0" description = "Python3 software for hardware evaluation" authors = [ "Olivier Hériveaux ", @@ -42,7 +42,17 @@ pytest = "7.0.1" pynit = { git = "https://github.com/Ledger-Donjon/pynit.git" } scipy = "1.13.1" +[tool.poetry-dynamic-versioning] +enable = true +vcs = "git" +style = "semver" + +[tool.poetry-dynamic-versioning.substitution] +files = ["laserstudio/__init__.py"] + +[tool.poetry-dynamic-versioning.files."laserstudio/__init__.py"] +persistent-substitution = true [build-system] -requires = ["poetry-core"] -build-backend = "poetry.core.masonry.api" +requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"] +build-backend = "poetry_dynamic_versioning.backend"