-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
139 lines (129 loc) · 3.07 KB
/
pyproject.toml
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
[project]
name = "zho-tts"
version = "0.0.2"
description = "Web app, command-line interface and Python library for synthesizing Chinese texts into speech."
readme = "README.md"
requires-python = ">=3.8, <3.12"
license = { text = "MIT" }
authors = [{ name = "Stefan Taubert", email = "[email protected]" }]
maintainers = [{ name = "Stefan Taubert", email = "[email protected]" }]
keywords = [
"Text-to-speech",
"Speech synthesis",
"praat",
"TextGrid",
"Utils",
"Language",
"Linguistics",
]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Operating System :: OS Independent",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Operating System :: POSIX :: BSD",
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"numpy>=1.18.5",
"tqdm>=4.63.0",
"ordered_set>=4.1.0",
"ffmpy>=0.3.1",
"spacy-pkuseg>=0.0.33",
"zhon>=2.0.2",
"opencc-py>=1.1.0",
"torch>=2.0.0",
"pronunciation-dictionary>=0.0.6",
"pronunciation-dictionary-utils>=0.0.5",
"dict-from-dict>=0.0.4",
"dict-from-pypinyin>=0.0.2",
"tacotron-cli>=0.0.5",
"waveglow-cli>=0.0.2",
"txt-utils>=0.0.3",
"pinyin-to-ipa>=0.0.2",
"gradio[oauth]>=4.26.0",
"uvicorn>=0.14.0",
]
[project.urls]
Homepage = "https://github.com/stefantaubert/zh-tts"
Issues = "https://github.com/stefantaubert/zh-tts/issues"
[project.scripts]
zho-tts-cli = "zho_tts_cli.cli:run"
zho-tts-web = "zho_tts_gr.app:run"
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
packages = ["zho_tts", "zho_tts_cli", "zho_tts_app", "zho_tts_gr"]
[tool.setuptools.packages.find]
where = ["src"]
include = [
"zho_tts",
"zho_tts.*",
"zho_tts_cli",
"zho_tts_cli.*",
"zho_tts_app",
"zho_tts_app.*",
"zho_tts_gr",
"zho_tts_gr.*",
]
exclude = [
"zho_tts_tests",
"zho_tts_tests.*",
"zho_tts_app_tests",
"zho_tts_app_tests.*",
"zho_tts_debug",
"zho_tts_debug.*",
"zho_tts_cli_debug",
"zho_tts_cli_debug.*",
]
namespaces = true
[tool.pytest.ini_options]
log_cli = true
log_level = "DEBUG"
testpaths = ["src/zho_tts_tests", "src/zho_tts_app_tests"]
[tool.autopep8]
indent-size = 2
ignore = ["E121"]
max_line_length = 100
[tool.isort]
line_length = 100
indent = 2
known_first_party = ["zho_tts", "zho_tts_cli", "zho_tts_gr", "zh_tts_app"]
known_third_party = [
"scipy",
"numpy",
"tqdm",
"TextGrid",
"pandas",
"ordered_set",
"matplotlib",
"pronunciation_dictionary",
]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py{38,39,310,311}
isolated_build = True
[testenv]
deps =
pytest
commands =
pytest
zho-tts-cli
zho-tts-cli -v
zho-tts-cli -h
"""
[build-system]
requires = ["setuptools >= 40.9.0", "wheel"]
build-backend = "setuptools.build_meta"