Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add pyproject.toml #4

Merged
merged 1 commit into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "PPOCRLabel"
version = "2.1.3"
dependencies = [
"pyqt5",
"paddleocr",
"xlrd==1.2.0",
"tqdm",
]
requires-python = ">= 3.9"
authors = [
]
maintainers = [
]
description = "PPOCRLabelv2 is a semi-automatic graphic annotation tool suitable for OCR field, with built-in PP-OCR model to automatically detect and re-recognize data. It is written in Python3 and PyQT5, supporting rectangular box, table, irregular text and key information annotation modes. Annotations can be directly used for the training of PP-OCR detection and recognition models."
readme = "README.md"
license = {text = "Apache-2.0"}
keywords = ["ocr", "textdetection", "textrecognition", "paddleocr", "crnn", "east", "star-net", "rosetta", "ocrlite", "db", "chineseocr", "chinesetextdetection", "chinesetextrecognition"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Utilities",
"Natural Language :: English",
]

[project.urls]
Homepage = "https://github.com/PFCCLab/PPOCRLabel"
Documentation = "https://github.com/PFCCLab/PPOCRLabel/blob/master/README.md"
Repository = "https://github.com/PFCCLab/PPOCRLabel.git"
Issues = "https://github.com/PFCCLab/PPOCRLabel/issues"

[project.gui-scripts]
PPOCRLabel = "PPOCRLabel.PPOCRLabel:main"

[tool.setuptools]
package-dir = {PPOCRLabel = ""}
package-data = {PPOCRLabel = ["libs/*", "resources/strings/*", "resources/icons/*"]}
3 changes: 0 additions & 3 deletions requirements.txt

This file was deleted.

55 changes: 0 additions & 55 deletions setup.py

This file was deleted.