mirror of
https://github.com/csd4ni3l/wizard_vs_irs.git
synced 2026-01-01 12:23:43 +01:00
Fix build and release script and use another version on Pypi to make it work
This commit is contained in:
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = "0.0.1"
|
__version__ = "0.1.1"
|
||||||
Reference in New Issue
Block a user