-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
180 lines (171 loc) · 4.88 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "EveryVoice"
description = "Text-to-Speech Synthesis for the Speech Generation for Indigenous Language Education Small Teams Project"
license = { file = "LICENSE" }
authors = [
{ name = "Aidan Pine", email = "Aidan.Pine@nrc-cnrc.gc.ca" },
{ name = "Eric Joanis", email = "Eric.Joanis@nrc-cnrc.gc.ca" },
{ name = "Marc Tessier", email = "Marc.Tessier@nrc-cnrc.gc.ca" },
{ name = "Mengzhe Geng", email = "Mengzhe.Geng@nrc-cnrc.gc.ca" },
{ name = "Samuel Larkin", email = "Samuel.Larkin@nrc-cnrc.gc.ca" },
]
maintainers = [
{ name = "Aidan Pine", email = "Aidan.Pine@nrc-cnrc.gc.ca" },
{ name = "Eric Joanis", email = "Eric.Joanis@nrc-cnrc.gc.ca" },
{ name = "Samuel Larkin", email = "Samuel.Larkin@nrc-cnrc.gc.ca" },
]
readme = "README.md"
requires-python = ">=3.10, <3.12"
keywords = ["TTS", "CLI"]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Other Audience",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation",
"Programming Language :: Python",
"Programming Language :: Unix Shell",
"Topic :: Multimedia :: Sound/Audio :: Speech",
"Typing :: Typed",
]
dependencies = [
"clipdetect>=0.1.4",
"deepdiff>=6.5.0",
"anytree>=2.12.1",
"einops==0.5.0",
"g2p~=2.0",
"gradio>=5.9.1",
"grapheme>=0.6.0",
"ipatok>=0.4.1",
"librosa==0.9.2",
"lightning>=2.0.0",
"loguru==0.6.0",
"matplotlib~=3.9.0",
"merge-args",
"nltk==3.9.1",
"numpy<2", # torch < 2.4.1 requires numpy < 2 but fails to declare it
"pandas~=2.0",
"panphon==0.20.0",
"protobuf~=4.25", # https://github.com/EveryVoiceTTS/EveryVoice/issues/387
"pycountry==22.3.5",
"pydantic[email]>=2.4.2,<2.8.0",
"pympi-ling",
"pysdtw==0.0.5",
"pyworld==0.3.4",
"PyYAML>=5.1",
"readalongs>=1.2.0",
"questionary==1.10.0",
"simple-term-menu==1.5.2",
"tabulate==0.9.0",
"tensorboard>=2.14.1",
"torch==2.1.0",
"torchaudio==2.1.0",
"torchinfo==1.8.0",
"typer>=0.12.4",
"yaspin>=3.1.0",
]
dynamic = ["version"]
[project.optional-dependencies]
# [Specifying GPU version of pytorch for python package in pyproject.toml](https://discuss.pytorch.org/t/specifying-gpu-version-of-pytorch-for-python-package-in-pyproject-toml/209157)
torch = [
# these requirements have to be installed ahead of time in your environment and from a different URL:
# CUDA_TAG=cu118 pip install -r requirements.torch.txt --find-links https://download.pytorch.org/whl/torch_stable.html
'torch==2.1.0; sys_platform == "darwin"',
'torchaudio==2.1.0; sys_platform == "darwin"',
]
dev = [
"black~=24.3",
"flake8>=4.0.1",
"gitlint-core>=0.19.0",
"isort>=5.10.1",
"mypy>=1.8.0",
"pre-commit>=3.2.0",
"types-pyyaml>=6.0.5",
"types-requests>=2.27.11",
"types-setuptools>=57.4.9",
"types-tabulate==0.9.0",
"types-tqdm>=4.64,<5.0",
"everyvoice[test]",
]
test = ["jsonschema>=4.17.3", "pep440>=0.1.2"]
[project.scripts]
everyvoice = "everyvoice.cli:app"
[project.urls]
Homepage = "https://github.com/EveryVoiceTTS/EveryVoice"
Documentation = "https://docs.everyvoice.ca"
Repository = "https://github.com/EveryVoiceTTS/EveryVoice"
Issues = "https://github.com/EveryVoiceTTS/EveryVoice/issues"
Changelog = "https://github.com/EveryVoiceTTS/EveryVoice/releases"
[tool.hatch.version]
path = "everyvoice/_version.py"
# pattern = "VERSION = 'b(?P<version>[^']+)'"
[tool.hatch.build.targets.sdist]
include = ["/everyvoice"]
exclude = [
"*.coveragerc",
"*.ipynb",
"*.psv",
"*.pyc",
"*/.schema/*.json",
"*~",
".git",
".github",
".gitlint",
".pre-commit-config.yaml",
"LICENSE",
"README.md",
"pyproject.toml",
"readme.md",
"requirement*txt",
"setup.cfg",
"setup.py",
"tests/",
# ".gitignore", # Needed/Used by hatch to filter-out files
]
[tool.hatch.build.targets.wheel]
include = ["/everyvoice"]
exclude = [
"*.coveragerc",
"*.ipynb",
"*.psv",
"*.pyc",
"*/.schema/*.json",
"*~",
".git",
".github",
".gitignore",
".gitlint",
".pre-commit-config.yaml",
"LICENSE",
"README.md",
"readme.md",
"requirement*txt",
"setup.cfg",
"setup.py",
"tests/",
]
[tool.isort]
known_first_party = "everyvoice"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
ensure_newline_before_comments = true
[tool.mypy]
files = "everyvoice"
ignore_missing_imports = true
plugins = ["pydantic.mypy", "numpy.typing.mypy_plugin"]
check_untyped_defs = false