This commit is contained in:
zengguoyang
2025-09-16 11:46:47 +08:00
commit 272b8ffbf6
31 changed files with 3473 additions and 0 deletions

96
pyproject.toml Normal file
View File

@@ -0,0 +1,96 @@
[build-system]
requires = ["setuptools>=64", "wheel", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "voxcpm"
dynamic = ["version"]
description = "A Python package for VoxCPM"
readme = "README.md"
license = "Apache-2.0"
authors = [
{name = "OpenBMB", email = "openbmb@gmail.com"}
]
maintainers = [
{name = "OpenBMB", email = "openbmb@gmail.com"}
]
keywords = ["voxcpm", "text-to-speech", "tts", "speech-synthesis", "voice-cloning", "ai", "deep-learning", "pytorch"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
requires-python = ">=3.8"
dependencies = [
"torch==2.5.1",
"torchaudio==2.5.1",
"transformers==4.50.1",
"einops",
"gradio",
"inflect",
"WeTextProcessing",
"addict",
"modelscope==1.22.0",
"simplejson",
"datasets==2.18.0",
"sortedcontainers",
"librosa",
"huggingface-hub",
"pydantic",
"tqdm",
"soundfile",
"funasr",
"spaces"
]
[project.optional-dependencies]
dev = [
"pytest>=6.0",
"pytest-cov>=2.0",
"black>=21.0",
"flake8>=3.8",
"mypy>=0.800",
"pre-commit>=2.0",
]
[project.scripts]
voxcpm = "voxcpm.cli:main"
[project.urls]
Homepage = "https://github.com/OpenBMB/VoxCPM"
Repository = "https://github.com/OpenBMB/VoxCPM.git"
Documentation = "https://github.com/OpenBMB/VoxCPM#readme"
"Bug Tracker" = "https://github.com/OpenBMB/VoxCPM/issues"
[tool.setuptools.packages.find]
where = ["src"]
include = ["voxcpm"]
[tool.setuptools.package-dir]
"" = "src"
[tool.setuptools_scm]
version_scheme = "post-release"
[tool.black]
line-length = 120
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''