mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-03-27 11:08:32 +07:00
feat: update README_zh-CN to reflect comprehensive changes in MinerU 2.0 architecture and functionality
This commit is contained in:
17
.github/workflows/python-package.yml
vendored
17
.github/workflows/python-package.yml
vendored
@@ -32,14 +32,14 @@ jobs:
|
||||
|
||||
- name: Verify version.py
|
||||
run: |
|
||||
ls -l magic_pdf/libs/version.py
|
||||
cat magic_pdf/libs/version.py
|
||||
ls -l mineru/version.py
|
||||
cat mineru/version.py
|
||||
|
||||
- name: Commit changes
|
||||
run: |
|
||||
git config --local user.email "moe@myhloli.com"
|
||||
git config --local user.name "myhloli"
|
||||
git add magic_pdf/libs/version.py
|
||||
git add mineru/version.py
|
||||
if git diff-index --quiet HEAD; then
|
||||
echo "No changes to commit"
|
||||
else
|
||||
@@ -71,18 +71,18 @@ jobs:
|
||||
|
||||
- name: Verify version.py
|
||||
run: |
|
||||
ls -l magic_pdf/libs/version.py
|
||||
cat magic_pdf/libs/version.py
|
||||
ls -l mineru/version.py
|
||||
cat mineru/version.py
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Install magic-pdf
|
||||
- name: Install mineru
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -e .[full]
|
||||
pip install -e .[all]
|
||||
|
||||
build:
|
||||
needs: [ check-install ]
|
||||
@@ -103,10 +103,11 @@ jobs:
|
||||
- name: Install wheel
|
||||
run: |
|
||||
python -m pip install wheel
|
||||
pip install build
|
||||
|
||||
- name: Build wheel
|
||||
run: |
|
||||
python setup.py bdist_wheel
|
||||
python -m build --wheel
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user