fix(lasp_version.py): Added patch to tuple unpack
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Anne de Jong 2023-07-23 15:24:17 +02:00
parent aa0803e2f1
commit 89b303497b
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
import importlib.metadata
__version__ = importlib.metadata.version(__package__ or __name__)
LASP_VERSION_MAJOR, LASP_VERSION_MINOR = [int(a) for a in __version__.split(".")]
LASP_VERSION_MAJOR, LASP_VERSION_MINOR, LASP_VERSION_PATCH = [
int(a) for a in __version__.split(".")
]