-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
69 lines (62 loc) · 1.48 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "subtitle-alchemy"
version = "0.1.10"
description = "Process subtitle files with ease."
authors = [
{name = "ZHANG Meng", email = "[email protected]"},
]
requires-python = ">=3.10,<3.11"
dependencies = [
"click>=8.1.3",
"modelscope>=1.18.0",
"funasr>=1.1.6",
"pypinyin>=0.52.0",
"loguru>=0.7.2",
]
license = {file = "LICENSE"}
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
]
[project.optional-dependencies]
cpu = [
"torch>=2.4.1",
"torchvision>=0.19.1",
"torchaudio>=2.4.1",
]
# Development dependencies
dev = [
"pytest>=8.3.2",
"ruff>=0.6.3",
"yapf>=0.40.2",
]
# Optional dependencies for the `dev` extra
ide = [
"ipython>=8.27.0",
"jedi-language-server>=0.41.4",
]
[project.scripts]
subalch = "subtitle_alchemy.cli.__main__:cli"
[project.urls]
Homepage = "https://github.com/ppmzhang2/subtitle-alchemy"
Repository = "https://github.com/ppmzhang2/subtitle-alchemy"
[tool.mypy]
files = [
"src",
"tools",
]
python_version = "3.10"
ignore_missing_imports = true
[tool.yapf]
force_single_line = true
based_on_style = "pep8"
spaces_before_comment = 4
split_before_logical_operator = true