Skip to content

Commit 6ac504d

Browse files
committed
🐛 use dynamic version to display version.
- could be added to logfiles
1 parent 6646987 commit 6ac504d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ authors = ["MoNA group"]
88
license = "MIT"
99
readme = "README.md"
1010
repository = "https://github.com/Multiomics-Analytics-Group/vuegen"
11-
version = "0.1.0"
11+
# just a placeholder for dynamic versions, see https://pypi.org/project/poetry-dynamic-versioning/
12+
version = "0.0.0"
1213

1314
[tool.poetry.dependencies]
1415
python = ">=3.9,<3.9.7 || >3.9.7,<4.0"

src/vuegen/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@
33
and Streamlit web applications. Users simply provide a directory with output files
44
and VueGen compiles them into a structured report."""
55

6-
__version__ = "1.0.0"
6+
from importlib import metadata
7+
8+
__version__ = metadata.version("vuegen")

0 commit comments

Comments
 (0)