Anuvani-Diarization / src /pyproject.toml
StephennFernandes's picture
Anuvani-Diarization 1.0.0
63dd946
Raw History Blame Contribute Delete
1.43 kB
[build-system]
requires = ["maturin>=1.15,<2"]
build-backend = "maturin"
[project]
name = "anuvani-diar"
version = "1.0.0"
description = "Indic speaker diarization with a Rust engine; byte-identical to release 1.0"
requires-python = ">=3.10"
license = "MIT OR Apache-2.0"
license-files = ["LICENSE-MIT", "LICENSE-APACHE", "THIRD_PARTY_NOTICES.md", "LICENSES/third_party/*", "LICENSES/crates/**/*"]
# torch runs the two networks (any version from 2.1; byte-identical only in the reference environment, docs/WHEEL.md),
# safetensors loads their weights, huggingface_hub downloads them (anuvani_diar.hub)
dependencies = ["numpy", "torch>=2.1", "safetensors>=0.4", "huggingface_hub>=0.20"]
[project.scripts]
anuvani-diar = "anuvani_diar.cli:main"
anuvani-diar-check = "anuvani_diar.check:main"
[tool.maturin]
manifest-path = "crates/diar-py/Cargo.toml"
module-name = "anuvani_diar._core"
python-source = "python"
features = []
# The bundled libraries with their licence texts, and the assets: staged by tools/stage_wheel_files.py into
# python/anuvani_diar (git-ignored there, and maturin leaves git-ignored files out unless they are named here).
# The release wheel's other settings (strip, path remapping, manylinux_2_28) are in tools/build_wheel.sh, so that
# `maturin develop` keeps its symbols.
include = [
{ path = "anuvani_diar/_libs/**/*", format = "wheel" },
{ path = "anuvani_diar/assets/*", format = "wheel" },
]