pyproject.toml 952 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [build-system]
  2. requires = ["hatchling"]
  3. build-backend = "hatchling.build"
  4. [project]
  5. name = "stt-daemon"
  6. version = "0.1.0"
  7. description = "Always-on speech-to-text daemon with pre-roll buffer"
  8. requires-python = ">=3.11"
  9. authors = [{name = "Efren", email = "efren@example.com"}]
  10. dependencies = [
  11. "numpy>=1.26",
  12. "faster-whisper>=1.1.0",
  13. "webrtcvad-wheels>=2.0.14",
  14. "questionary>=2.0",
  15. "textual>=0.80",
  16. ]
  17. [project.optional-dependencies]
  18. portaudio = ["sounddevice>=0.4.6"]
  19. [dependency-groups]
  20. dev = ["pytest>=8", "ruff"]
  21. [project.scripts]
  22. stt-daemon = "stt_daemon.cli:main"
  23. stt-assistant = "stt_daemon.assistant.runner:main"
  24. stt-ctl = "stt_daemon.ctl:main"
  25. stt-tui = "stt_daemon.tui.app:main"
  26. [tool.hatch.build.targets.wheel]
  27. packages = ["src/stt_daemon"]
  28. [tool.ruff]
  29. target-version = "py311"
  30. line-length = 100
  31. [tool.ruff.lint]
  32. select = ["E", "F", "W"]
  33. [tool.pytest.ini_options]
  34. testpaths = ["tests"]
  35. python_files = ["test_*.py"]