[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "whisper_project"
version = "0.1.0"
description = "Canalización multimedia: extracción, transcripción, traducción y TTS (Kokoro/Coqui)."
readme = "README.md"
requires-python = ">=3.11"
authors = [ { name = "Nextream" } ]
license = { text = "MIT" }

dependencies = [
  "numpy==1.26.4",
  "ffmpeg-python==0.4.0",
  "faster-whisper==1.2.0",
  "transformers==4.34.0",
  "tokenizers==0.13.3",
  "sentencepiece==0.1.99",
  "huggingface-hub==0.16.4",
  "sacremoses==0.0.53",
  "ctranslate2==3.18.0",
  "onnxruntime==1.15.1",
  "requests==2.31.0",
  "tqdm==4.66.1",
  "coloredlogs==15.0.1",
  "humanfriendly==10.0",
  "flatbuffers==23.5.26",
  "av==10.0.0",
]

[project.optional-dependencies]
cpu = [ "torch==2.2.2", "onnxruntime==1.15.1" ]
tts = [ "TTS==0.13.0", "soundfile==0.12.1", "librosa==0.10.0.post2", "pyttsx3==2.90" ]
dev = [ "pytest", "pre-commit", "black", "ruff" ]

[project.scripts]
whisper_project = "whisper_project.main:main"
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
