File tree Expand file tree Collapse file tree 4 files changed +21
-3
lines changed
Expand file tree Collapse file tree 4 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 4040 key : venv-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}--${{ hashFiles('poetry.lock') }}
4141 path : .venv
4242
43+ - name : Bind Poetry to runner Python (Linux/macOS)
44+ if : matrix.os != 'windows-latest'
45+ shell : bash
46+ run : |
47+ if [ -x .venv/bin/python ]; then
48+ echo "Cached venv Python: $(.venv/bin/python --version)"
49+ fi
50+ echo "Runner Python: $(python --version)"
51+ poetry env use "$(command -v python)"
52+
53+ - name : Bind Poetry to runner Python (Windows)
54+ if : matrix.os == 'windows-latest'
55+ shell : pwsh
56+ run : |
57+ if (Test-Path .venv\Scripts\python.exe) { & .venv\Scripts\python.exe --version }
58+ python --version
59+ poetry env use (Get-Command python).Source
60+
4361 - name : Install Dependencies
4462 run : |
4563 poetry install --with dev
Original file line number Diff line number Diff line change 2121mkdir -p build
2222
2323poetry install --with dev
24- poetry run nuitka \
24+ poetry run python -m nuitka \
2525 ./derpiwallpaper/__main__.py \
2626 --onefile \
2727 --enable-plugin=pyside6 \
Original file line number Diff line number Diff line change 2121mkdir -p build
2222
2323poetry install --with dev
24- poetry run nuitka \
24+ poetry run python -m nuitka \
2525 ./derpiwallpaper/__main__.py \
2626 --onefile \
2727 --enable-plugin=pyside6 \
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ if ($content -ne $version) {
2626New-Item - ItemType Directory - Force - Path build | Out-Null
2727
2828poetry install -- with dev
29- poetry run nuitka \
29+ poetry run python - m nuitka \
3030 .\derpiwallpaper\__main__.py \
3131 -- msvc= latest \
3232 -- onefile \
You can’t perform that action at this time.
0 commit comments