Skip to content

Commit a6d93f2

Browse files
committed
Take version info from pyproject.toml
1 parent 3378438 commit a6d93f2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

jpeg_ls/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from importlib.metadata import version
12
import logging
23

34
from .CharLS import (
@@ -16,7 +17,7 @@
1617
from _CharLS import decode_from_buffer # noqa: F401
1718

1819

19-
__version__ = "1.3.0"
20+
__version__: str = version("pyjpegls")
2021

2122

2223
# Setup default logging

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ license = {text = "MIT"}
3333
name = "pyjpegls"
3434
readme = "readme.md"
3535
requires-python = ">=3.9"
36-
version = "1.5.0"
36+
version = "1.5.1"
3737

3838
[project.urls]
3939
documentation = "https://pydicom.github.io/pydicom"

0 commit comments

Comments
 (0)