mattrguerra/transcription-pipelinemainPrivate on GitHub, published here in full

pyproject.toml

Language TOML1.2 KB43 lines

pyproject.toml

  1. [build-system]
  2. requires = ["setuptools>=68"]
  3. build-backend = "setuptools.build_meta"
  4. [project]
  5. name = "transcription-pipeline"
  6. version = "0.1.0"
  7. description = "A local, speaker-aware transcription pipeline: drop a recording in a folder, get a transcript with who said what."
  8. readme = "README.md"
  9. # WhisperX (and so torch and pyannote) does not support 3.14 yet.
  10. requires-python = ">=3.10,<3.14"
  11. license = { text = "MIT" }
  12. authors = [{ name = "Matt Guerra" }]
  13. dependencies = [
  14. "whisperx>=3.4",
  15. "imageio-ffmpeg>=0.5",
  16. ]
  17. [project.optional-dependencies]
  18. test = ["pytest>=8"]
  19. [project.scripts]
  20. transcribe = "transcription_pipeline.cli:main"
  21. [tool.setuptools.packages.find]
  22. include = ["transcription_pipeline*"]
  23. [tool.pytest.ini_options]
  24. testpaths = ["tests"]
  25. # See cli.QUIET: pyannote's torchcodec warning does not apply here. The second
  26. # comes from pyannote pooling a frame too short to have a spread, which the
  27. # short test clip produces; it does not change the result.
  28. filterwarnings = [
  29. "ignore:\\s*torchcodec is not installed correctly",
  30. # "." stands for the colon, which pytest splits on
  31. "ignore:std\\(\\). degrees of freedom is <= 0",
  32. ]
  33. [tool.ruff]
  34. line-length = 100
  35. [tool.ruff.lint]
  36. select = ["E4", "E7", "E9", "F", "E501"]