Skip to content

Commit

Permalink
Use poetry-dynamic-versioning for versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
mmouchous-ledger committed Nov 26, 2024
1 parent fcbad95 commit bd3a851
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion laserstudio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
16 changes: 13 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <olivier.heriveaux@ledger.fr>",
Expand Down Expand Up @@ -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"

0 comments on commit bd3a851

Please sign in to comment.