Migrate to pyproject.toml

This commit is contained in:
Michael Hansen
2025-01-24 09:28:51 -06:00
parent 3576c0fc5f
commit 2c72ad0e01
11 changed files with 58 additions and 76 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
"""Voice satellite using the Wyoming protocol."""
import importlib.metadata
from pathlib import Path
from .satellite import (
@@ -17,7 +19,7 @@ from .settings import (
)
_DIR = Path(__file__).parent
__version__ = (_DIR / "VERSION").read_text(encoding="utf-8").strip()
__version__ = importlib.metadata.version("wyoming-satellite")
__all__ = [
"__version__",