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

fix weird version info #12003

Merged
merged 1 commit into from
Apr 25, 2024
Merged
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
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@

from setuptools import setup
from io import open
import sys
import subprocess

# get version by matchiing, so will not need to setup complex env in github aciton
p = subprocess.Popen(
"grep ^VERSION ./paddleocr.py | cut -d\\' -f 2",
"grep ^VERSION ./paddleocr.py | awk '{print $3}' | tr -d '\"'",
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
shell=True,
Expand Down Expand Up @@ -57,7 +56,7 @@ def readme():
["requirements.txt", "ppstructure/recovery/requirements.txt"]
),
license="Apache License 2.0",
description="Awesome OCR toolkits based on PaddlePaddle8.6M ultra-lightweight pre-trained model, support training and deployment among server, mobile, embedded and IoT devices",
description="Awesome OCR toolkits based on PaddlePaddle(8.6M ultra-lightweight pre-trained model, support training and deployment among server, mobile, embedded and IoT devices)",
long_description=readme(),
long_description_content_type="text/markdown",
url="https://github.com/PaddlePaddle/PaddleOCR",
Expand Down
Loading