From 1c39f4dffb214ae587cf71631899e5eec860d114 Mon Sep 17 00:00:00 2001 From: Leif <4603009@qq.com> Date: Thu, 29 Sep 2022 17:08:59 +0800 Subject: [PATCH] release new PPOCRLabel whl package release new PPOCRLabel whl package --- PPOCRLabel/README.md | 4 ++-- PPOCRLabel/README_ch.md | 4 ++-- PPOCRLabel/setup.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/PPOCRLabel/README.md b/PPOCRLabel/README.md index 089a63fd..9c483e1f 100644 --- a/PPOCRLabel/README.md +++ b/PPOCRLabel/README.md @@ -105,9 +105,9 @@ python PPOCRLabel.py --kie True # [KIE mode] for [detection + recognition + keyw #### 1.2.3 Build and Install the Whl Package Locally Compile and install a new whl package, where 1.0.2 is the version number, you can specify the new version in 'setup.py'. ```bash -cd PaddleOCR/PPOCRLabel +cd ./PPOCRLabel python3 setup.py bdist_wheel -pip3 install dist/PPOCRLabel-1.0.2-py2.py3-none-any.whl +pip3 install dist/PPOCRLabel-2.1.2-py2.py3-none-any.whl ``` diff --git a/PPOCRLabel/README_ch.md b/PPOCRLabel/README_ch.md index 3ea684a3..784ab098 100644 --- a/PPOCRLabel/README_ch.md +++ b/PPOCRLabel/README_ch.md @@ -104,9 +104,9 @@ python PPOCRLabel.py --lang ch 编译与安装新的whl包,其中1.0.2为版本号,可在 `setup.py` 中指定新版本。 ```bash -cd PaddleOCR/PPOCRLabel +cd ./PPOCRLabel python3 setup.py bdist_wheel -pip3 install dist/PPOCRLabel-1.0.2-py2.py3-none-any.whl -i https://mirror.baidu.com/pypi/simple +pip3 install dist/PPOCRLabel-2.1.2-py2.py3-none-any.whl -i https://mirror.baidu.com/pypi/simple ``` diff --git a/PPOCRLabel/setup.py b/PPOCRLabel/setup.py index 1750f84b..a112df54 100644 --- a/PPOCRLabel/setup.py +++ b/PPOCRLabel/setup.py @@ -33,7 +33,7 @@ setup( package_dir={'PPOCRLabel': ''}, include_package_data=True, entry_points={"console_scripts": ["PPOCRLabel= PPOCRLabel.PPOCRLabel:main"]}, - version='2.1.1', + version='2.1.2', install_requires=requirements, license='Apache License 2.0', description='PPOCRLabel is a semi-automatic graphic annotation tool suitable for OCR field, with built-in PPOCR model to automatically detect and re-recognize data. It is written in python3 and pyqt5, supporting rectangular box annotation and four-point annotation modes. Annotations can be directly used for the training of PPOCR detection and recognition models', -- GitLab