[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "voxcpmane"
version = "0.0.4"
description = "VoxCPM TTS model with Apple Neural Engine backend server"
readme = "README.md"
requires-python = ">=3.9,<3.13"
dependencies = [
    "coremltools==8.3.0",
    "einops",
    "fastapi",
    "inflect",
    "numpy>2",
    "sounddevice",
    "soundfile",
    "soxr",
    "transformers",
    "uvicorn",
    "wetext",
    "tqdm",
    "aiofiles",
    "huggingface_hub",
    "ftfy>=6.3.1",
]

[project.urls]
Homepage = "https://github.com/0seba/VoxCPMANE"

[project.scripts]
voxcpmane-server = "voxcpmane.server:main"

[dependency-groups]
dev = [
    "black>=25.9.0",
    "build>=1.3.0",
    "twine>=6.2.0",
]

[tool.setuptools.packages.find]
where = ["src"]

[tool.setuptools.package-data]
voxcpmane = ["frontend/index.html"]
