mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-13 22:40:53 +08:00
Fix whl version
This commit is contained in:
1 parent
decf442df3
commit
a625f025b0
3 files changed
+3
-4
No files matched your search
+1
-2
@@ -11,7 +11,7 @@ def get_latest_version(package_name):
|
||||
capture_output=True)
|
||||
output = output.stdout.decode('utf-8')
|
||||
if output:
|
||||
output = list(filter(lambda x: len(x) > 0, output.split('\r\n')))
|
||||
output = list(filter(lambda x: len(x) > 0, output.split('\n')))
|
||||
latest_version = output[0].split(' ')[-1][1:-1]
|
||||
return latest_version
|
||||
else:
|
||||
@@ -39,7 +39,6 @@ def get_readme():
|
||||
|
||||
module_name = 'rapidocr_onnxruntime'
|
||||
latest_version = get_latest_version(module_name)
|
||||
print(latest_version)
|
||||
version_num = version_add_one(latest_version)
|
||||
|
||||
setuptools.setup(
|
||||
|
||||
Reference in new issue
Block a user