pyproject.toml 812 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. ]
  16. [project.optional-dependencies]
  17. portaudio = ["sounddevice>=0.4.6"]
  18. [dependency-groups]
  19. dev = ["pytest>=8", "ruff"]
  20. [project.scripts]
  21. stt-daemon = "stt_daemon.cli:main"
  22. [tool.hatch.build.targets.wheel]
  23. packages = ["src/stt_daemon"]
  24. [tool.ruff]
  25. target-version = "py311"
  26. line-length = 100
  27. [tool.ruff.lint]
  28. select = ["E", "F", "W"]
  29. [tool.pytest.ini_options]
  30. testpaths = ["tests"]
  31. python_files = ["test_*.py"]