Skip to content

Commit

Permalink
Added version to init
Browse files Browse the repository at this point in the history
  • Loading branch information
jrg94 committed Dec 28, 2023
1 parent 744bc04 commit 5322913
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions image-titler/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import tomllib

with open("pyproject.toml", "rb") as f:
_META = tomllib.load(f)

__version__ = _META["tool"]["poetry"]["version"]

0 comments on commit 5322913

Please sign in to comment.