Skip to content

Commit

Permalink
add pyproject.toml (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatV committed May 13, 2024
1 parent 4738fab commit 08df987
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 58 deletions.
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.

0 comments on commit 08df987

Please sign in to comment.