-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
101 lines (91 loc) · 2.49 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
[build-system]
requires = [
"scikit-build-core",
"Cython",
"setuptools>=61.2",
]
build-backend = "scikit_build_core.build"
[project]
name = "soundswallower"
dynamic = ["version"]
description = "An even smaller speech recognizer"
readme = "README.md"
authors = [
{name = "David Huggins-Daines", email = "[email protected]"}
]
keywords = ["asr", "speech"]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: C",
"Programming Language :: Cython",
"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",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Multimedia :: Sound/Audio :: Speech",
]
[project.optional-dependencies]
dev = [
"mypy==1.13.0",
"numpy",
"pre-commit",
"pytest",
"ruff",
]
[project.urls]
Homepage = "https://github.com/ReadAlongs/SoundSwallower"
Documentation = "https://soundswallower.readthedocs.io/"
Repository = "https://github.com/ReadAlongs/SoundSwallower.git"
Issues = "https://github.com/ReadAlongs/SoundSwallower/issues"
[project.scripts]
soundswallower = "soundswallower.cli:main"
[tool.cibuildwheel]
# Build binaries for supported versions of Python
build = [
"cp38-*",
"cp39-*",
"cp310-*",
"cp311-*",
"cp312-*",
"cp313-*",
]
# Build only universal wheels for Mac where possible, and skip 32-bit
# builds to avoid building a gigabyte of stuff all the time
skip = [
"cp*-macosx_x86_64",
"cp*-macosx_arm64",
"*_i686",
"*musl*",
"*-win32",
]
[tool.cibuildwheel.macos]
archs = ["x86_64", "universal2", "arm64"]
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"BLE", # flake8-blind-except
"C4", # flake8-comprehensions
"C90", # mccabe code complexity
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"PL", # pylint
"RUF", # Ruff-specific rules
"W", # pycodestyle whitespace
]
fixable = ["I"]
[tool.ruff.lint.isort]
known-first-party = ["soundswallower"]
[tool.scikit-build]
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
sdist.include = ["py/soundswallwer/_version.py"]
cmake.verbose = true
logging.level = "INFO"
wheel.packages = ["py/soundswallower"]
[tool.setuptools_scm]
write_to = "py/soundswallower/_version.py"