feat: use uv for building package

This commit is contained in:
Barabazs
2025-01-16 08:09:57 +01:00
parent 44e8bf5bb6
commit 272714e07d
4 changed files with 2944 additions and 41 deletions

32
pyproject.toml Normal file
View File

@ -0,0 +1,32 @@
[project]
urls = { repository = "https://github.com/m-bain/whisperx" }
authors = [{ name = "Max Bain" }]
name = "whisperx"
version = "3.3.1"
description = "Time-Accurate Automatic Speech Recognition using Whisper."
readme = "README.md"
requires-python = ">=3.9, <3.13"
license = { text = "BSD-2-Clause" }
dependencies = [
"ctranslate2>=4.5.0",
"faster-whisper>=1.1.1",
"nltk>=3.9.1",
"onnxruntime==1.19",
"pandas>=2.2.3",
"pyannote-audio>=3.3.2",
"torch>=2.5.1",
"torchaudio>=2.5.1",
"transformers>=4.48.0",
]
[project.scripts]
whisperx = "whisperx.transcribe:cli"
[build-system]
requires = ["setuptools"]
[tool.setuptools]
packages = ["whisperx"]
include-package-data = true