-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
47 lines (37 loc) · 1.03 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "whisper_api"
dynamic = ["dependencies", "version"]
description = "A simple API for whisper"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "" }
authors = [
{ name = "MayNiklas", email = "[email protected]" },
{ name = "nonchris", email = "[email protected]" },
]
[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
version = { attr = "whisper_api.__version__" }
[project.urls]
homepage = "https://github.com/MayNiklas/whisper_api"
[project.scripts]
whisper_api = "whisper_api:start"
# pip install -e '.[dev]'
[project.optional-dependencies]
dev = ["black", "httpx", "pre-commit", "isort", "pylint"]
[tool.setuptools]
package-dir = { "" = "src" }
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["tests*"]
[tool.isort]
profile = "black"
force_single_line = "true"
[tool.black]
line-length = 120
[tool.pylint]
FORMAT = { max-line-length = 120 }