-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (92 loc) · 2.98 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (92 loc) · 2.98 KB
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
# SPDX-License-Identifier: MPL-2.0 AND LicenseRef-Commons-Clause-License-Condition-1.0
# <!-- // /* d a r k s h a p e s */ -->
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
authors = [{ name = "darkshapes", email = "[email protected]" }]
name = "divisor"
description = "fragment / denoise / process"
version = "0.1.4"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.13"
keywords = ["ML", "AI", "TUI", "no-code", "diffusion", "LLM", "torch"]
classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Other Audience",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Multimedia",
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Graphics :: Editors",
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
"Topic :: Multimedia :: Graphics :: Presentation",
"Topic :: Multimedia :: Graphics :: Viewers",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Conversion",
"Topic :: Multimedia :: Sound/Audio :: Editors",
"Topic :: Multimedia :: Sound/Audio :: Mixers",
"Topic :: Multimedia :: Sound/Audio :: Players",
"Topic :: Multimedia :: Video",
"Topic :: Multimedia :: Video :: Capture",
"Topic :: Multimedia :: Video :: Conversion",
"Topic :: Multimedia :: Video :: Display",
"Topic :: Multimedia :: Video :: Non-Linear Editor",
]
dependencies = [
"ffmpeg>=1.4",
"fire>=0.7.1",
"gradio<6",
"hangul-romanize>=0.1.0",
"librosa>=0.11.0",
"nnll[full]",
"num2words>=0.5.14",
"py3langid>=0.3.0",
"pypinyin>=0.55.0",
"spacy>=3.8.11",
"torchcodec>=0.9.1",
"transformers",
"pdoc>=16.0.0",
"opencc>=1.1.9",
]
[project.scripts]
dvzr = "divisor.app:main"
divisor = "divisor.app:main"
[dependency-groups]
dev = ["nnll[dev]", "pyright>=1.1.407", "pytest>=9.0.2", "ruff>=0.14.10"]
[project.optional-dependencies]
cuda = ["jetengine @ git+https://github.com/Labman42/JetEngine.git ; sys_platform != 'darwin'"]
[tool.pyright]
include = ["divisor"]
exclude = [
"**/__pycache__", # cache directories
"./typings", # generated type stubs
]
[tool.setuptools]
packages = ["divisor"]
[tool.setuptools_scm]
version_scheme = "guess-next-dev"
local_scheme = "no-local-version"
[tool.setuptools.package-data]
"*" = ["*.txt", "*.md"]
[tool.uv]
package = true
preview = true
[tool.uv.sources]
nnll = { git = "https://github.com/darkshapes/nnll" }
jetengine = { git = "https://github.com/Labman42/JetEngine.git" }
[tool.ruff]
line-length = 160
include = ["*.py"]
extend-exclude = ["**/__pycache__", "./typings"]
[tool.ruff.lint]
ignore = ["E731"]
[tool.pylint]
max-line-length = 140
ignore-paths = ["^tests/.*$", "test_.*$"]
disable = ["C0415"]