pyproject.toml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 and a voice assistant layer"
  8. readme = "README.md"
  9. license = "ISC"
  10. license-files = ["LICENSE.md"]
  11. requires-python = ">=3.11"
  12. authors = [{name = "Efren", email = "efren@example.com"}]
  13. dependencies = [
  14. "numpy>=1.26",
  15. "faster-whisper>=1.1.0",
  16. "webrtcvad-wheels>=2.0.14",
  17. "questionary>=2.0",
  18. "textual>=0.80",
  19. ]
  20. [project.optional-dependencies]
  21. portaudio = ["sounddevice>=0.4.6"]
  22. [dependency-groups]
  23. dev = ["pytest>=8", "ruff"]
  24. [project.scripts]
  25. stt-daemon = "stt_daemon.cli:main"
  26. stt-assistant = "stt_daemon.assistant.runner:main"
  27. stt-ctl = "stt_daemon.ctl:main"
  28. stt-tui = "stt_daemon.tui.app:main"
  29. [tool.hatch.build.targets.wheel]
  30. packages = ["src/stt_daemon"]
  31. [tool.ruff]
  32. target-version = "py311"
  33. line-length = 100
  34. [tool.ruff.lint]
  35. select = ["E", "F", "W"]
  36. [tool.pytest.ini_options]
  37. testpaths = ["tests"]
  38. python_files = ["test_*.py"]