We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bea82db commit c79a6a5Copy full SHA for c79a6a5
wyoming_faster_whisper/VERSION
wyoming_faster_whisper/__init__.py
@@ -1,9 +1,6 @@
1
"""Wyoming server for faster-whisper."""
2
-from pathlib import Path
+from importlib.metadata import version
3
4
-_DIR = Path(__file__).parent
5
-_VERSION_PATH = _DIR / "VERSION"
6
-
7
-__version__ = _VERSION_PATH.read_text(encoding="utf-8").strip()
+__version__ = version("wyoming_faster_whisper")
8
9
__all__ = ["__version__"]
0 commit comments