Skip to content

Commit 9d874ce

Browse files
committed
Update to 0.2.0 and dynamically load version in pyproject
1 parent 3fd3248 commit 9d874ce

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

mosaic/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version_info__ = (0, 1, 1)
1+
__version_info__ = (0, 2, 0)
22
__version__ = '.'.join(str(vi) for vi in __version_info__)

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mosaic"
3-
version = "0.1.1"
3+
dynamic = ["version"]
44
authors = [
55
{ name="E3SM Development Team", email="[email protected]" },
66
]
@@ -64,3 +64,6 @@ ignore_missing_imports = true
6464
warn_unused_ignores = true
6565
warn_redundant_casts = true
6666
warn_unused_configs = true
67+
68+
[tool.setuptools.dynamic]
69+
version = { attr = "mosaic.version.__version__" }

0 commit comments

Comments
 (0)