-
-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathpyproject.toml
64 lines (55 loc) · 1.25 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
[project]
name = "mokuro"
authors = [
{name = "Maciej Budyś", email = "kha-white@mail.com"},
]
description = "Browser reader for manga with selectable text"
readme = "README.md"
requires-python = ">=3.6"
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
]
dynamic = ["version"]
dependencies = [
"fire",
"loguru",
"manga-ocr>=0.1.7",
"natsort",
"numpy",
"opencv-python>=4.1.2",
"Pillow>=7.1.2",
"pyclipper",
"requests",
"scipy",
"setuptools",
"shapely",
"torch>=1.7.0",
"torchsummary",
"torchvision>=0.8.1",
"transformers>=4.25.0",
"tqdm>=4.41.0",
"yattag",
]
[project.optional-dependencies]
dev = [
"pytest",
"ruff",
]
[project.urls]
Homepage = "https://github.com/kha-white/mokuro"
[build-system]
requires = ["setuptools >= 61.0.0", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["mokuro*", "comic_text_detector*"]
[tool.setuptools.package-data]
comic_text_detector = ["LICENSE"]
[tool.setuptools.dynamic]
version = {attr = "mokuro._version.__version__"}
[tool.ruff]
line-length = 120
indent-width = 4
extend-exclude = ["comic_text_detector"]
[project.scripts]
mokuro = "mokuro.__main__:main"