Skip to content

Commit

Permalink
Merge pull request #95 from daavid00/versionTag
Browse files Browse the repository at this point in the history
Versioning with tags
  • Loading branch information
daavid00 authored Dec 2, 2024
2 parents 3d24699 + 691bff5 commit cd6ec3c
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 = "[email protected]" },
{ name = "Tor Harald Sandve", email = "[email protected]" }]
maintainers = [{ name = "David Landa-Marbán", email = "[email protected]" },
{ name = "Tor Harald Sandve", email = "[email protected]" }]
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 cd6ec3c

Please sign in to comment.