42 lines
780 B
TOML
42 lines
780 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "rehearsalhub-worker"
|
|
version = "0.1.0"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"sqlalchemy[asyncio]>=2.0",
|
|
"asyncpg>=0.29",
|
|
"pydantic-settings>=2.3",
|
|
"redis[hiredis]>=5.0",
|
|
"httpx>=0.27",
|
|
"pydub>=0.25",
|
|
"pyloudnorm>=0.1",
|
|
"librosa>=0.10",
|
|
"numpy>=1.26",
|
|
"scipy>=1.13",
|
|
# essentia installed via system in Dockerfile (not via pip)
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8",
|
|
"pytest-asyncio>=0.23",
|
|
"pytest-cov>=5",
|
|
"ruff>=0.4",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/worker"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"ruff>=0.15.8",
|
|
]
|