forked from bootphon/phonemizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
92 lines (81 loc) · 2.72 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
# Copyright 2015-2021 Mathieu Bernard
#
# This file is part of phonemizer: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# Phonemizer is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with phonemizer. If not, see <http://www.gnu.org/licenses/>.
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "phonemizer"
description = "Simple text to phones converter for multiple languages"
authors = [
{name = "Mathieu Bernard", email = "[email protected]"},
{name = "Hadrien Titeux"}]
readme = "README.md"
license = {file = "LICENSE"}
keywords = [
"linguistics",
"G2P",
"phone",
"espeak",
"festival",
"TTS"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent"]
requires-python = ">= 3.8"
dynamic = ["version"]
dependencies = [
"joblib",
"segments",
"attrs>=18.1",
"dlinfo",
"typing-extensions"]
[project.optional-dependencies]
test = ["pytest>=6.0", "pytest-cov", "coverage[toml]"]
doc = ["sphinx", "sphinx_rtd_theme"]
[project.scripts]
phonemize = "phonemizer.main:main"
[project.urls]
Documentation = "https://bootphon.github.io/phonemizer/"
Repository = "https://github.com/bootphon/phonemizer"
Issues = "https://github.com/bootphon/phonemizer"
Changelog = "https://github.com/bootphon/phonemizer/blob/master/docs/source/changelog.rst"
[tool.setuptools.packages]
find = {}
[tool.setuptools.package-data]
phonemizer = [
"share/espeak/*",
"share/festival/*",
"share/segments/*"]
[tool.setuptools.dynamic]
version = {attr = "phonemizer.__version__"}
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = "test"
python_files = ["test/*.py"]
filterwarnings = [
# ignore some deprecation warnings (on regexp escape sequence) for segments
# module and its dependencies
"ignore::DeprecationWarning:.*segments.*",
"ignore::DeprecationWarning:.*csvw.*",
"ignore::DeprecationWarning:.*clldutils.*",
# ignore a warning issued by joblib about multithreading
"ignore:This process (.*) is multi-threaded.*:DeprecationWarning:joblib"]
addopts = "--cov=phonemizer"
[tool.coverage.report]
exclude_lines = [
"pragma: nocover",
"@abc.abstractmethod"]
skip_covered = true