Skip to content

πŸ“„ Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.

chore(rapidocr_api): deleting legacy files

SWHLb1e92f39fbf4
diff --git a/.github/workflows/gen_whl_to_pypi_rapidocr_api.yml b/.github/workflows/gen_whl_to_pypi_rapidocr_api.yml
deleted file mode 100644
index f29e4e7..0000000
--- a/.github/workflows/gen_whl_to_pypi_rapidocr_api.yml
+++ /dev/null
@@ -1,48 +0,0 @@
-name: Push rapidocr_api to pypi
-
-on:
- push:
- branches: [ main ]
- paths:
- - 'api/rapidocr_api/**'
- - 'docs/doc_whl_rapidocr_api.md'
- - 'api/setup.py'
- - '.github/workflows/gen_whl_to_pypi_rapidocr_api.yml'
- - 'api/requirements.txt'
-
-jobs:
- GenerateWHL_PushPyPi:
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v4
-
- - name: Set up Python 3.10
- uses: actions/setup-python@v4
- with:
- python-version: '3.10'
- architecture: 'x64'
-
- - name: Set SSH Environment
- env:
- DEPLOY_KEYS: ${{ secrets.GEN_PYTHON_SDK }}
- run: |
- mkdir -p ~/.ssh/
- echo "$DEPLOY_KEYS" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- chmod 700 ~/.ssh && chmod 600 ~/.ssh/*
-
- - name: Run setup.py
- run: |
- cd api
- pip install -r requirements.txt
- pip install get_pypi_latest_version wheel
-
- python -m pip install --upgrade pip
- python setup.py bdist_wheel "${{ github.event.head_commit.message }}"
-
- - name: Publish distribution πŸ“¦ to PyPI
- uses: pypa/[email protected]
- with:
- password: ${{ secrets.RAPIDOCR_API_PYPI }}
- packages_dir: api/dist/
diff --git a/docs/doc_whl_rapidocr_api.md b/docs/doc_whl_rapidocr_api.md
deleted file mode 100644
index 3d153be..0000000
--- a/docs/doc_whl_rapidocr_api.md
+++ /dev/null
@@ -1 +0,0 @@
-### See [Documentation](https://rapidai.github.io/RapidOCRDocs/install_usage/rapidocr_api/usage/)