Skip to content

Commit 8978378

Browse files
committed
ci: fixed pypi error
1 parent 8a91892 commit 8978378

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/gen_whl_to_pypi_rapidocr_web.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020

2121
- name: Run setup.py
2222
run: |
23-
cd ocrweb
2423
pip install -r requirements.txt
2524
2625
python -m pip install --upgrade pip

rapidocr_web/ocrweb.spec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# -*- mode: python ; coding: utf-8 -*-
22
from pathlib import Path
33

4-
import rapidocr_onnxruntime
4+
import rapidocr
55

66
block_cipher = None
77

8-
package_name = 'rapidocr_onnxruntime'
9-
install_dir = Path(rapidocr_onnxruntime.__file__).resolve().parent
8+
package_name = 'rapidocr'
9+
install_dir = Path(rapidocr.__file__).resolve().parent
1010

1111
onnx_paths = list(install_dir.rglob('*.onnx'))
1212
yaml_paths = list(install_dir.rglob('*.yaml'))

0 commit comments

Comments
 (0)