-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (77 loc) · 2.09 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (77 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "voxcpm2-api"
version = "0.2.0"
description = "Production-ready FastAPI and WebSocket service for VoxCPM2 synthesis"
readme = "README.md"
requires-python = ">=3.10"
license = "AGPL-3.0-only"
authors = [
{ name = "Shiftbloom Studio" }
]
keywords = ["tts", "fastapi", "websocket", "voxcpm2", "huggingface", "speech"]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: FastAPI",
"Intended Audience :: Developers",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Multimedia :: Sound/Audio :: Speech",
]
dependencies = [
"fastapi>=0.115,<1.0",
"uvicorn[standard]>=0.30,<1.0",
"pydantic-settings>=2.4,<3.0",
"numpy>=1.26,<3.0"
]
[project.urls]
Homepage = "https://github.com/shiftbloom-studio/voxcpm2-api"
Repository = "https://github.com/shiftbloom-studio/voxcpm2-api"
Issues = "https://github.com/shiftbloom-studio/voxcpm2-api/issues"
Changelog = "https://github.com/shiftbloom-studio/voxcpm2-api/releases"
[project.optional-dependencies]
voxcpm = [
"voxcpm"
]
nanovllm = [
"nano-vllm-voxcpm"
]
asr = [
"faster-whisper>=1.0"
]
all = [
"voxcpm",
"nano-vllm-voxcpm",
"faster-whisper>=1.0"
]
dev = [
"build>=1.2",
"httpx>=0.27,<1.0",
"pytest>=8.3",
"ruff>=0.6",
"twine>=6.1"
]
[project.scripts]
voxcpm2-api = "voxcpm2_api.cli:main"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py312"
# ruff 0.16 expanded the default rule set from 59 to 413 rules. Keep the
# historical E4/E7/E9/F selection so `ruff check .` matches this repo.
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F"]