Localizer / pyproject.toml
pyproject.toml994 B
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "localizer"
version = "0.1.0"
description = "Spatial localization of binaural room impulse responses (BRIRs): estimate the azimuth and front/back hemisphere of a source."
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [{ name = "Localizer contributors" }]
dependencies = [
"numpy>=1.23",
"scipy>=1.9",
"soundfile>=0.12",
"matplotlib>=3.6",
]
[project.optional-dependencies]
sofa = ["sofar>=1.1"] # AES69 SOFA HRTF databases (Listen, BiLi, CIPIC, ARI, ...)
gui = ["PySide6>=6.5"] # desktop GUI with polar plot
ml = ["torch>=2.0"] # CNN front/back disambiguation
dev = ["pytest>=7.0", "sofar>=1.1"]
[project.scripts]
localizer = "localizer.cli:main"
localizer-gui = "localizer.gui:main"
[tool.setuptools.packages.find]
where = ["src"]
include = ["localizer*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
