mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
fix: update Nuitka build options and refine PySide6 dependency for improved compatibility
This commit is contained in:
@@ -118,6 +118,20 @@ jobs:
|
|||||||
--enable-plugin=pyside6 \
|
--enable-plugin=pyside6 \
|
||||||
--enable-plugin=upx \
|
--enable-plugin=upx \
|
||||||
--upx-binary="${{ env.UPX_BINARY }}" \
|
--upx-binary="${{ env.UPX_BINARY }}" \
|
||||||
|
--noinclude-qt-translations \
|
||||||
|
--noinclude-dlls='Qt6WebEngine*' \
|
||||||
|
--noinclude-dlls='Qt6Multimedia*' \
|
||||||
|
--noinclude-dlls='Qt6Quick*' \
|
||||||
|
--noinclude-dlls='Qt6Qml*' \
|
||||||
|
--noinclude-dlls='Qt6Designer*' \
|
||||||
|
--noinclude-dlls='Qt63D*' \
|
||||||
|
--noinclude-dlls='Qt6Bluetooth*' \
|
||||||
|
--noinclude-dlls='Qt6Nfc*' \
|
||||||
|
--noinclude-dlls='Qt6Sensors*' \
|
||||||
|
--noinclude-dlls='Qt6Serial*' \
|
||||||
|
--noinclude-dlls='Qt6Test*' \
|
||||||
|
--noinclude-dlls='Qt6Location*' \
|
||||||
|
--noinclude-dlls='Qt6Pdf*' \
|
||||||
--include-data-dir=core/interface/assets=core/interface/assets \
|
--include-data-dir=core/interface/assets=core/interface/assets \
|
||||||
--include-data-files=build_info.json=build_info.json \
|
--include-data-files=build_info.json=build_info.json \
|
||||||
--include-data-files=build_info.json=core/build_info.json \
|
--include-data-files=build_info.json=core/build_info.json \
|
||||||
@@ -125,8 +139,8 @@ jobs:
|
|||||||
--output-filename=${{ env.APP_NAME }}.exe \
|
--output-filename=${{ env.APP_NAME }}.exe \
|
||||||
main.py
|
main.py
|
||||||
|
|
||||||
- name: Build with Nuitka (Unix)
|
- name: Build with Nuitka (Linux)
|
||||||
if: runner.os != 'Windows'
|
if: runner.os == 'Linux'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
python -m nuitka \
|
python -m nuitka \
|
||||||
@@ -134,6 +148,52 @@ jobs:
|
|||||||
--onefile-tempdir-spec="{CACHE_DIR}/${{ env.APP_NAME }}/${{ env.VERSION }}" \
|
--onefile-tempdir-spec="{CACHE_DIR}/${{ env.APP_NAME }}/${{ env.VERSION }}" \
|
||||||
--assume-yes-for-downloads \
|
--assume-yes-for-downloads \
|
||||||
--enable-plugin=pyside6 \
|
--enable-plugin=pyside6 \
|
||||||
|
--enable-plugin=upx \
|
||||||
|
--upx-binary="${{ env.UPX_BINARY }}" \
|
||||||
|
--noinclude-qt-translations \
|
||||||
|
--noinclude-dlls='libQt6WebEngine*' \
|
||||||
|
--noinclude-dlls='libQt6Multimedia*' \
|
||||||
|
--noinclude-dlls='libQt6Quick*' \
|
||||||
|
--noinclude-dlls='libQt6Qml*' \
|
||||||
|
--noinclude-dlls='libQt6Designer*' \
|
||||||
|
--noinclude-dlls='libQt63D*' \
|
||||||
|
--noinclude-dlls='libQt6Bluetooth*' \
|
||||||
|
--noinclude-dlls='libQt6Nfc*' \
|
||||||
|
--noinclude-dlls='libQt6Sensors*' \
|
||||||
|
--noinclude-dlls='libQt6Serial*' \
|
||||||
|
--noinclude-dlls='libQt6Test*' \
|
||||||
|
--noinclude-dlls='libQt6Location*' \
|
||||||
|
--noinclude-dlls='libQt6Pdf*' \
|
||||||
|
--include-data-dir=core/interface/assets=core/interface/assets \
|
||||||
|
--include-data-files=build_info.json=build_info.json \
|
||||||
|
--include-data-files=build_info.json=core/build_info.json \
|
||||||
|
--include-data-files=build_info.json=core/interface/build_info.json \
|
||||||
|
--output-filename=${{ env.APP_NAME }} \
|
||||||
|
main.py
|
||||||
|
|
||||||
|
- name: Build with Nuitka (macOS)
|
||||||
|
if: runner.os == 'macOS'
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
python -m nuitka \
|
||||||
|
--onefile \
|
||||||
|
--onefile-tempdir-spec="{CACHE_DIR}/${{ env.APP_NAME }}/${{ env.VERSION }}" \
|
||||||
|
--assume-yes-for-downloads \
|
||||||
|
--enable-plugin=pyside6 \
|
||||||
|
--noinclude-qt-translations \
|
||||||
|
--noinclude-dlls='libQt6WebEngine*' \
|
||||||
|
--noinclude-dlls='libQt6Multimedia*' \
|
||||||
|
--noinclude-dlls='libQt6Quick*' \
|
||||||
|
--noinclude-dlls='libQt6Qml*' \
|
||||||
|
--noinclude-dlls='libQt6Designer*' \
|
||||||
|
--noinclude-dlls='libQt63D*' \
|
||||||
|
--noinclude-dlls='libQt6Bluetooth*' \
|
||||||
|
--noinclude-dlls='libQt6Nfc*' \
|
||||||
|
--noinclude-dlls='libQt6Sensors*' \
|
||||||
|
--noinclude-dlls='libQt6Serial*' \
|
||||||
|
--noinclude-dlls='libQt6Test*' \
|
||||||
|
--noinclude-dlls='libQt6Location*' \
|
||||||
|
--noinclude-dlls='libQt6Pdf*' \
|
||||||
--include-data-dir=core/interface/assets=core/interface/assets \
|
--include-data-dir=core/interface/assets=core/interface/assets \
|
||||||
--include-data-files=build_info.json=build_info.json \
|
--include-data-files=build_info.json=build_info.json \
|
||||||
--include-data-files=build_info.json=core/build_info.json \
|
--include-data-files=build_info.json=core/build_info.json \
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
requests==2.32.2
|
requests==2.32.2
|
||||||
PySide6==6.10.1
|
PySide6-Essentials==6.10.1
|
||||||
beautifulsoup4==4.13.5
|
beautifulsoup4==4.13.5
|
||||||
darkdetect==0.7.1
|
darkdetect==0.7.1
|
||||||
pyinstaller==6.15.0
|
pyinstaller==6.15.0
|
||||||
|
|||||||
Reference in New Issue
Block a user