test / pyproject.toml
Txq92's picture
Upload 20 files
9844a46 verified
Raw History Blame Contribute Delete
2.71 kB
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "pmptts"
dynamic = ["version"]
description = "High-quality Text-to-Speech library for Vietnamese"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
authors = [
{name = "PhapPM", email = "phappm1109@gmail.com"},
]
maintainers = [
{name = "PhapPM", email = "phappm1109@gmail.com"},
]
keywords = ["tts", "text-to-speech", "vietnamese", "voice", "synthesis", "ai", "ml"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"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",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Multimedia :: Sound/Audio :: Speech",
]
dependencies = [
"numpy>=1.21.0",
"soundfile>=0.10.3",
"pydub>=0.25.0",
"tqdm>=4.64.0",
]
[project.optional-dependencies]
cpu = [
"onnxruntime>=1.15.0",
]
gpu = [
"onnxruntime-gpu>=1.15.0",
]
[project.scripts]
pmp-tts = "pmptts.cli:main"
[project.urls]
"Homepage" = "https://github.com/phappm/pmptts"
"Bug Reports" = "https://github.com/phappm/pmptts/issues"
"Source" = "https://github.com/phappm/pmptts"
"Documentation" = "https://github.com/phappm/pmptts/blob/main/README.md"
[tool.setuptools.dynamic]
version = {attr = "pmptts.__version__"}
[tool.setuptools.packages.find]
where = ["."]
include = ["pmptts*"]
exclude = ["tests*"]
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"