30 lines
658 B
TOML
30 lines
658 B
TOML
[project]
|
||
name = "qbh"
|
||
version = "1.0.0"
|
||
description = "基于旋律的音乐哼唱检索系统(Query by Humming)"
|
||
requires-python = ">=3.12"
|
||
dependencies = [
|
||
"numpy>=2.1",
|
||
"scipy>=1.15",
|
||
"fastapi>=0.115",
|
||
"uvicorn>=0.30",
|
||
"python-multipart>=0.0.9",
|
||
]
|
||
|
||
[project.optional-dependencies]
|
||
audio = ["soundfile>=0.12"]
|
||
desktop = ["sounddevice>=0.5"]
|
||
plots = ["matplotlib>=3.10"]
|
||
dev = ["pytest>=8", "httpx>=0.27"]
|
||
|
||
[tool.pytest.ini_options]
|
||
testpaths = ["tests"]
|
||
addopts = "-q"
|
||
filterwarnings = [
|
||
"ignore::DeprecationWarning:starlette.*",
|
||
"ignore::UserWarning:starlette.*",
|
||
]
|
||
|
||
[tool.setuptools]
|
||
packages = ["qbh", "app", "desktop"]
|