Fix build and release script and use another version on Pypi to make it work

This commit is contained in:
csd4ni3l
2025-10-12 21:39:38 +02:00
parent e0a35190e3
commit ccdcb67311
3 changed files with 8 additions and 7 deletions

View File

@@ -21,7 +21,7 @@ jobs:
architecture: "x64" architecture: "x64"
cache: "pip" cache: "pip"
cache-dependency-path: | cache-dependency-path: |
**/requirements*.txt requirements.txt
- name: Install Dependencies - name: Install Dependencies
run: pip install -r requirements.txt run: pip install -r requirements.txt
@@ -30,10 +30,10 @@ jobs:
uses: Nuitka/Nuitka-Action@main uses: Nuitka/Nuitka-Action@main
with: with:
nuitka-version: main nuitka-version: main
script-name: run.py script-name: wizard_vs_irs/run.py
nofollow-import-to: "*tk*,_codecs,encodings,multiprocessing,gi" nofollow-import-to: "*tk*,_codecs,encodings,multiprocessing,gi"
disable-plugins: tk-inter,dill-compat,eventlet,gevent,pyqt5,pyqt6,pyside2,pyside6,delvewheel,pywebview,matplotlib,spacy,enum-compat,pbr-compat,gevent,pmw-freezer,transformers,upx,kivy,options-nanny,multiprocessing,gi disable-plugins: tk-inter,dill-compat,eventlet,gevent,pyqt5,pyqt6,pyside2,pyside6,delvewheel,pywebview,matplotlib,spacy,enum-compat,pbr-compat,gevent,pmw-freezer,transformers,upx,kivy,options-nanny,multiprocessing,gi
include-data-dir: assets=assets include-data-dir: wizard_vs_irs/assets=assets
include-data-files: CREDITS=CREDITS include-data-files: CREDITS=CREDITS
mode: standalone mode: standalone
output-file: WizardvsIRS output-file: WizardvsIRS
@@ -43,9 +43,9 @@ jobs:
run: | run: |
mkdir -p zip_output mkdir -p zip_output
if [ "${{ runner.os }}" = "Windows" ]; then if [ "${{ runner.os }}" = "Windows" ]; then
powershell.exe -Command "Compress-Archive -Path 'build/run.dist/*' -DestinationPath 'zip_output/WizardvsIRS-${{ runner.os }}.zip'" powershell.exe -Command "Compress-Archive -Path 'build/wizard_vs_irs.run.dist/*' -DestinationPath 'zip_output/WizardvsIRS-${{ runner.os }}.zip'"
else else
cd build/run.dist cd build/wizard_vs_irs.run.dist
zip -r "../../zip_output/WizardvsIRS-${{ runner.os }}.zip" . zip -r "../../zip_output/WizardvsIRS-${{ runner.os }}.zip" .
fi fi
@@ -54,6 +54,7 @@ jobs:
with: with:
name: WizardvsIRS-${{ runner.os }}.zip name: WizardvsIRS-${{ runner.os }}.zip
path: zip_output/WizardvsIRS-${{ runner.os }}.zip path: zip_output/WizardvsIRS-${{ runner.os }}.zip
release: release:
name: Create GitHub Release name: Create GitHub Release
needs: build needs: build

View File

@@ -1,6 +1,6 @@
[project] [project]
name = "wizard_vs_irs" name = "wizard_vs_irs"
version = "0.1.0" version = "0.1.1"
description = "Wizard vs IRS" description = "Wizard vs IRS"
readme = "README.md" readme = "README.md"
requires-python = ">=3.11" requires-python = ">=3.11"

View File

@@ -1 +1 @@
__version__ = "0.0.1" __version__ = "0.1.1"