Skip to content

Commit

Permalink
Take version info from pyproject.toml (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaramallion authored Oct 28, 2024
1 parent 3378438 commit de22cdf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion jpeg_ls/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from importlib.metadata import version
import logging

from .CharLS import (
Expand All @@ -16,7 +17,7 @@
from _CharLS import decode_from_buffer # noqa: F401


__version__ = "1.3.0"
__version__: str = version("pyjpegls")


# Setup default logging
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ license = {text = "MIT"}
name = "pyjpegls"
readme = "readme.md"
requires-python = ">=3.9"
version = "1.5.0"
version = "1.5.1"

[project.urls]
documentation = "https://pydicom.github.io/pydicom"
Expand Down

0 comments on commit de22cdf

Please sign in to comment.