Skip to content

Commit

Permalink
switching to dynamic versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
abocchieri committed Dec 9, 2024
1 parent d593f56 commit 96b177c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions __version__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""
This module contains the version information for the PAOS package.
The version is stored in the `__version__` variable.
"""
__version__ = "1.2.5-post0"
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "paos"
version = "1.2.5-post0"
dynamic = ["version"]
authors = [
{name = "Andrea Bocchieri <[email protected]>"},
{name = "Lorenzo V. Mugnai"},
Expand Down Expand Up @@ -55,6 +55,9 @@ Issues = "https://github.com/arielmission-space/PAOS/issues"
Repository = "https://github.com/arielmission-space/PAOS.git"
DOI = "https://doi.org/10.1117/12.3018333"

[tool.setuptools.dynamic]
version = {attr = "__version__.py"}

[project.optional-dependencies]
docs = [
"sphinx>=5.0",
Expand Down

0 comments on commit 96b177c

Please sign in to comment.