Skip to content

Commit 08df987

Browse files
authored
add pyproject.toml (#4)
1 parent 4738fab commit 08df987

File tree

3 files changed

+43
-58
lines changed

3 files changed

+43
-58
lines changed

pyproject.toml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
[build-system]
2+
requires = ["setuptools >= 61.0"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "PPOCRLabel"
7+
version = "2.1.3"
8+
dependencies = [
9+
"pyqt5",
10+
"paddleocr",
11+
"xlrd==1.2.0",
12+
"tqdm",
13+
]
14+
requires-python = ">= 3.9"
15+
authors = [
16+
]
17+
maintainers = [
18+
]
19+
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."
20+
readme = "README.md"
21+
license = {text = "Apache-2.0"}
22+
keywords = ["ocr", "textdetection", "textrecognition", "paddleocr", "crnn", "east", "star-net", "rosetta", "ocrlite", "db", "chineseocr", "chinesetextdetection", "chinesetextrecognition"]
23+
classifiers = [
24+
"Development Status :: 5 - Production/Stable",
25+
"Intended Audience :: Developers",
26+
"Operating System :: OS Independent",
27+
"Programming Language :: Python :: 3",
28+
"Topic :: Utilities",
29+
"Natural Language :: English",
30+
]
31+
32+
[project.urls]
33+
Homepage = "https://github.com/PFCCLab/PPOCRLabel"
34+
Documentation = "https://github.com/PFCCLab/PPOCRLabel/blob/master/README.md"
35+
Repository = "https://github.com/PFCCLab/PPOCRLabel.git"
36+
Issues = "https://github.com/PFCCLab/PPOCRLabel/issues"
37+
38+
[project.gui-scripts]
39+
PPOCRLabel = "PPOCRLabel.PPOCRLabel:main"
40+
41+
[tool.setuptools]
42+
package-dir = {PPOCRLabel = ""}
43+
package-data = {PPOCRLabel = ["libs/*", "resources/strings/*", "resources/icons/*"]}

requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)