71 lines
1.4 KiB
TOML
71 lines
1.4 KiB
TOML
[project]
|
|
name = "unmix"
|
|
version = "0.1.0"
|
|
description = "Song-Paket Audioanalyse-Pipeline (Stems, Lyrics, Vocals, Tempo, Chords, Strumming)"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11,<3.13"
|
|
dependencies = [
|
|
"pydantic>=2.7.0",
|
|
"typer>=0.12.0",
|
|
"rich>=13.7.0",
|
|
"demucs>=4.0.0",
|
|
"torch>=2.4.0",
|
|
"torchaudio>=2.4.0",
|
|
"soundfile>=0.12.0",
|
|
"julius>=0.2.7",
|
|
"pyphen>=0.14.0",
|
|
"torchcrepe>=0.0.23",
|
|
"faster-whisper>=1.0.0",
|
|
"scipy>=1.12.0",
|
|
"jiwer>=3.0.0",
|
|
"beat-this>=1.1.0",
|
|
"chord-extractor>=0.1.3",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0.0",
|
|
"pytest-cov>=5.0.0",
|
|
"ruff>=0.4.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
unmix = "unmix.cli:app"
|
|
songsplit = "unmix.cli:app"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/unmix"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["src"]
|
|
markers = [
|
|
"integration: marks tests as integration tests",
|
|
]
|
|
|
|
[[tool.uv.index]]
|
|
name = "pytorch-cpu"
|
|
url = "https://download.pytorch.org/whl/cpu"
|
|
explicit = true
|
|
|
|
[tool.uv.sources]
|
|
torch = { index = "pytorch-cpu" }
|
|
torchaudio = { index = "pytorch-cpu" }
|
|
|
|
[tool.uv.extra-build-dependencies]
|
|
vamp = ["numpy"]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B"]
|
|
ignore = ["B008", "E501"]
|
|
|
|
|