Skip to content

Commit 9683c51

Browse files
committed
refactor: use pyproject.toml as single source of truth for version
1 parent 91e8b1f commit 9683c51

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

bbox_visualizer/__init__.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""bbox-visualizer - Different ways of visualizing objects given bounding box data."""
22

3-
from ._version import __version__
3+
from importlib.metadata import version
44
from .core import (
55
add_label,
66
add_multiple_labels,
@@ -15,6 +15,8 @@
1515
)
1616
from .core._utils import suppress_warnings, warnings_suppressed
1717

18+
__version__ = version("bbox_visualizer")
19+
1820
__all__ = [
1921
"__version__",
2022
"add_T_label",

bbox_visualizer/_version.py

-3
This file was deleted.

0 commit comments

Comments
 (0)