Skip to content

Commit c79a6a5

Browse files
committed
Fix version file
1 parent bea82db commit c79a6a5

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

wyoming_faster_whisper/VERSION

Lines changed: 0 additions & 1 deletion
This file was deleted.

wyoming_faster_whisper/__init__.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
"""Wyoming server for faster-whisper."""
2-
from pathlib import Path
2+
from importlib.metadata import version
33

4-
_DIR = Path(__file__).parent
5-
_VERSION_PATH = _DIR / "VERSION"
6-
7-
__version__ = _VERSION_PATH.read_text(encoding="utf-8").strip()
4+
__version__ = version("wyoming_faster_whisper")
85

96
__all__ = ["__version__"]

0 commit comments

Comments
 (0)