Move code directly into backend and cli src
All checks were successful
CI / Backend (push) Successful in 28s
CI / CLI (push) Successful in 16s

This commit is contained in:
2026-05-24 12:46:40 +02:00
parent 9fd0e707f0
commit c7eda49769
11 changed files with 26 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
Local CLI that forwards media files to a remote `whisper-remote-backend` server.
Package layout is flat in this folder: `whisper_remote_cli/main.py`.
Package layout is flat in this folder: `src/main.py`.
## Run

View File

@@ -18,4 +18,10 @@ dev = [
]
[project.scripts]
whisper-remote = "whisper_remote_cli.main:main"
whisper-remote = "main:main"
[tool.setuptools]
py-modules = ["main"]
[tool.setuptools.package-dir]
"" = "src"

View File

@@ -1,10 +1,13 @@
import os
from argparse import Namespace
from pathlib import Path
import sys
import pytest
from whisper_remote_cli import main
sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "src"))
import main
def test_resolve_server_from_env(monkeypatch) -> None:

View File

@@ -1 +0,0 @@
"""whisper-remote CLI package."""