forked from kha-white/manga-ocr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (36 loc) · 982 Bytes
/
setup.py
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
from pathlib import Path
from setuptools import setup
long_description = (Path(__file__).parent / "README.md").read_text('utf-8').split('# Installation')[0]
setup(
name="manga-ocr",
version='0.1.11',
description="OCR for Japanese manga",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/kha-white/manga-ocr",
author="Maciej Budyś",
author_email="[email protected]",
license="Apache License 2.0",
classifiers=[
"Programming Language :: Python :: 3",
],
packages=['manga_ocr'],
include_package_data=True,
install_requires=[
"fire",
"fugashi",
"jaconv",
"loguru",
"numpy",
"Pillow>=10.0.0",
"pyperclip",
"torch>=1.0",
"transformers>=4.25.0",
"unidic_lite",
],
entry_points={
"console_scripts": [
"manga_ocr=manga_ocr.__main__:main",
]
},
)