Skip to content

Commit b6c7d27

Browse files
committed
update .github/workflows/build-windows-wx.yml
1 parent 7c2a29c commit b6c7d27

1 file changed

Lines changed: 5 additions & 24 deletions

File tree

.github/workflows/build-windows-wx.yml

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
env:
17-
UV_SYSTEM_PYTHON: 0
1817
PYTHONWARNINGS: ignore::EncodingWarning
1918
PYTHONWARNDEFAULTENCODING: 0
2019
APPNAME: PyGlossaryWx
@@ -41,24 +40,6 @@ jobs:
4140
python-version: '3.13'
4241
architecture: x64
4342

44-
- name: Install uv
45-
uses: astral-sh/setup-uv@v6
46-
with:
47-
version: latest
48-
49-
- name: Cache uv
50-
uses: actions/cache@v4
51-
with:
52-
path: ~/.cache/uv
53-
key: ${{ runner.os }}-uv-wx-3.13
54-
55-
- name: Create venv
56-
shell: bash
57-
run: |
58-
uv venv .venv --python 3.13
59-
echo "VIRTUAL_ENV=$PWD/.venv" >> $GITHUB_ENV
60-
echo "$PWD/.venv/Scripts" >> $GITHUB_PATH
61-
6243
- name: Set environment variables
6344
shell: bash
6445
run: |
@@ -69,24 +50,24 @@ jobs:
6950
7051
- name: Install dependencies
7152
shell: bash
72-
run: uv run python .github/scripts/win/install-deps.py
53+
run: python3 .github/scripts/win/install-deps.py
7354

7455
- name: Patch sources for nuitka build
7556
shell: bash
76-
run: uv run python .github/scripts/win/patch_sources.py
57+
run: python3 .github/scripts/win/patch_sources.py
7758

7859
- name: Install nuitka
7960
shell: bash
80-
run: uv pip install -U nuitka
61+
run: pip install -U nuitka
8162

8263
- name: Nuitka build
8364
env:
8465
PYTHONWARNDEFAULTENCODING: 0
85-
run: uv run python .github/scripts/win/nuitka-build.py
66+
run: python3 .github/scripts/win/nuitka-build.py
8667

8768
- name: Copy assets
8869
shell: bash
89-
run: uv run python .github/scripts/win/copy_assets.py
70+
run: python3 .github/scripts/win/copy_assets.py
9071

9172
- name: Pack to zip before uploading
9273
shell: cmd

0 commit comments

Comments
 (0)