Standard src-layout: package name matches import name. All internal imports are relative so no code changes needed beyond pyproject.toml. Also fixes 4 pre-existing ruff line-length violations.
37 lines
762 B
TOML
37 lines
762 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "mcspeak"
|
|
version = "2026.03.04"
|
|
description = "Multi-engine TTS server with speech queue, exposed via FastMCP 3.0 Streamable HTTP"
|
|
requires-python = ">=3.12"
|
|
license = "MIT"
|
|
authors = [{name = "Ryan Malloy", email = "ryan@supported.systems"}]
|
|
dependencies = [
|
|
"fastmcp>=3.0.0",
|
|
"httpx",
|
|
"kokoro-onnx>=0.5.0",
|
|
"numpy",
|
|
"onnxruntime",
|
|
"pydantic-settings",
|
|
"snac>=1.2.1",
|
|
"soundfile",
|
|
"torch",
|
|
"wyoming>=1.8.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
mcspeak = "mcspeak.__main__:main"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/mcspeak"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "W"]
|