Skip to content

Commit

Permalink
Try to fix missing depended data files for pypinyin 0.52
Browse files Browse the repository at this point in the history
  • Loading branch information
Shengjie Xu committed Aug 7, 2024
1 parent 81d0334 commit 35388b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ runs:
- uses: actions/setup-python@v5
with:
python-version: '3.10.x'
- uses: FedericoCarboni/setup-ffmpeg@v1
- uses: FedericoCarboni/setup-ffmpeg@v3
id: setup-ffmpeg
- name: fetch tags
run: git fetch --prune --unshallow --tags
Expand All @@ -24,7 +24,7 @@ runs:
run: pip install --upgrade build twine
shell: bash
- name: build
run: python3 -m build
run: python3 -X utf8 -m build
shell: bash
- name: install
run: pip install dist/*.whl
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: python3 ./versionfile_gen.py
- name: run pyinstaller
run: |
pyinstaller --collect-data preppipe --icon=preppipe.ico --version-file=versionfile.txt -n preppipe_cli -D preppipe_cli.py
pyinstaller --collect-data preppipe --collect-data pypinyin --recursive-copy-metadata preppipe --icon=preppipe.ico --version-file=versionfile.txt -n preppipe_cli -D preppipe_cli.py
cd dist/preppipe_cli && 7z.exe a -t7z -mx=9 ../preppipe_cli-windows-x64.7z *
- uses: "marvinpinto/action-automatic-releases@latest"
with:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ install_requires =
ghostscript
editdistance
bidict
pypinyin <= 0.51
pypinyin
graphviz
antlr4-python3-runtime >= 4.10, < 4.11.0

Expand Down

0 comments on commit 35388b4

Please sign in to comment.