Skip to content

Commit

Permalink
add url in pyproject, and update version number (#13274)
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatV authored Jul 6, 2024
1 parent 446f1cf commit 153de46
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION_NUMBER
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.8.0
2.8.1
2 changes: 1 addition & 1 deletion paddleocr.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def _import_file(module_name, file_path, make_importable=False):
ppstructure = importlib.import_module("ppstructure", "paddleocr")
from ppocr.utils.logging import get_logger

logger = get_logger()
from ppocr.utils.utility import (
check_and_read,
get_image_file_list,
Expand All @@ -68,6 +67,7 @@ def _import_file(module_name, file_path, make_importable=False):
from ppstructure.predict_system import StructureSystem, save_structure_res, to_excel

logger = get_logger()

__all__ = [
"PaddleOCR",
"PPStructure",
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ dependencies = [
"fire>=0.3.0",
]

[project.urls]
homepage = "https://github.com/PaddlePaddle/PaddleOCR"
documentation = "https://github.com/PaddlePaddle/PaddleOCR/blob/main/README.md"
repository = "https://github.com/PaddlePaddle/PaddleOCR.git"
issues = "https://github.com/PaddlePaddle/PaddleOCR/issues"

[project.scripts]
paddleocr = "paddleocr.paddleocr:main"

Expand Down

0 comments on commit 153de46

Please sign in to comment.