Skip to content

Commit

Permalink
fix: 自动打包qt的whl
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhldr committed Nov 23, 2024
1 parent efba019 commit 15260e9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ jobs:
make BUILD_TYPE=gtk test-rpm
make BUILD_TYPE=qt test-rpm
- name: Build whl package
run: |
make BUILD_TYPE=qt test-pip
# - name: Build archlinux package
# uses: rustdesk-org/arch-makepkg-action@master
# with:
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ test-pip: clear
mv usr/lib/lfy ./ && \
mv usr/share/icons/hicolor/scalable/apps ./lfy/resources/ && \
mv usr/share/locale ./lfy/resources/ && \
python -m build
python -m build && \
cp dist/lfy-${VERSION}-py3-none-any.whl ${DISK}/lfy-${VERSION}-py3-none-any-${BUILD_TYPE}.whl



Expand Down Expand Up @@ -125,6 +126,7 @@ release:
make test-aur
make test-deb
make test-rpm
make test-pip
make BUILD_TYPE=gtk test-aur
make BUILD_TYPE=gtk test-deb
make BUILD_TYPE=gtk test-rpm
Expand Down
2 changes: 1 addition & 1 deletion pkg/pip/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if bt == 'qt'
# deps += ' python3-PyQt6'
deps = deps0 + ' ,"pillow", "PyQt6"'
else
deps = deps0 + ' ,"pillow", "PyGObject'
deps = deps0 + ' ,"pillow", "PyGObject"'
endif

conf_pkg_pip = configuration_data()
Expand Down

0 comments on commit 15260e9

Please sign in to comment.