-
-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy pathpyproject.toml
52 lines (44 loc) · 967 Bytes
/
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
[project]
name = "manga-ocr"
authors = [
{name = "Maciej Budyś", email = "[email protected]"},
]
description = "OCR for Japanese manga"
readme = "README.md"
requires-python = ">=3.6"
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
]
dynamic = ["version"]
dependencies = [
"fire",
"fugashi",
"jaconv",
"loguru",
"numpy",
"Pillow>=10.0.0",
"pyperclip",
"torch>=1.0",
"transformers>=4.25.0",
"unidic_lite",
]
[project.optional-dependencies]
dev = [
"pytest",
"ruff",
]
[project.urls]
Homepage = "https://github.com/kha-white/manga-ocr"
[build-system]
requires = ["setuptools >= 61.0.0", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["manga_ocr"]
[tool.setuptools.dynamic]
version = {attr = "manga_ocr._version.__version__"}
[tool.ruff]
line-length = 120
indent-width = 4
[project.scripts]
manga_ocr = "manga_ocr.__main__:main"