Use manga_ocr as library, separate the projects, add some documentation
This commit is contained in:
21
setup.py
21
setup.py
@@ -4,35 +4,32 @@ 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",
|
||||
name="owocr",
|
||||
version='0.1',
|
||||
description="Japanese OCR",
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
url="https://github.com/kha-white/manga-ocr",
|
||||
author="Maciej Budyś",
|
||||
author_email="kha-white@mail.com",
|
||||
url="https://github.com/AuroraWright/owocr",
|
||||
author="AuroraWright",
|
||||
author_email="fallingluma@gmail.com",
|
||||
license="Apache License 2.0",
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3",
|
||||
],
|
||||
packages=['manga_ocr'],
|
||||
packages=['owocr'],
|
||||
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",
|
||||
"unidic_lite"
|
||||
],
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"manga_ocr=manga_ocr.__main__:main",
|
||||
"owocr=owocr.__main__:main",
|
||||
]
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user