Skip to content

Commit 04b677c

Browse files
Merge pull request #3 from abstractlyZach/versioning
Use pyproject.toml as the version Source of Truth
2 parents 0d2c516 + 3c4796f commit 04b677c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/magic_tiler/__init__.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
__version__ = "0.1.0"
1+
"""The magic tiler"""
2+
from importlib.metadata import version
3+
4+
# pyproject.toml is the source of truth for versioning
5+
__version__ = version(__name__)

0 commit comments

Comments
 (0)