Skip to content

Commit

Permalink
Versioning with tags
Browse files Browse the repository at this point in the history
  • Loading branch information
daavid00 committed Dec 2, 2024
1 parent 3d24699 commit 691bff5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [{ name = "David Landa-Marbán", email = "dmar@norceresearch.no" },
{ name = "Tor Harald Sandve", email = "tosa@norceresearch.no" }]
maintainers = [{ name = "David Landa-Marbán", email = "dmar@norceresearch.no" },
{ name = "Tor Harald Sandve", email = "tosa@norceresearch.no" }]
version = "2024.04"
dynamic = ["version"]
readme = {file = "README.md", content-type = "text/markdown"}
license = {text = "GPL-3.0"}
keywords = ["csp11", "ccs", "cfd", "co2", "flow", "opm", "python", "spe11"]
Expand Down Expand Up @@ -38,6 +38,9 @@ dependencies = [
]
requires-python = ">=3.8"

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

[project.scripts]
pyopmspe11 = "pyopmspe11.core.pyopmspe11:main"

Expand Down
5 changes: 5 additions & 0 deletions src/pyopmspe11/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""
Code version.
"""

__version__ = "2024.10-pre"

0 comments on commit 691bff5

Please sign in to comment.