Skip to content

Commit 758b2c5

Browse files
committed
Refactor build_deploy workflow: streamline dependencies and update translation compilation step
1 parent ed9ba53 commit 758b2c5

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/build_deploy.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,12 @@ jobs:
2121
- name: Install build dependencies (for prebuild)
2222
run: |
2323
pip install --upgrade pip
24-
pip install guidata babel
24+
pip install babel
2525
2626
- name: Build wheels
2727
uses: pypa/cibuildwheel@v2.21.2
2828
env:
29-
CIBW_SKIP: "*-win32 *-manylinux_i686"
30-
CIBW_BEFORE_BUILD: pip install guidata babel && python -m guidata.utils.translations compile --name plotpy --directory .
29+
CIBW_BEFORE_BUILD: pip install guidata babel && pybabel compile -d plotpy/locale -D plotpy
3130

3231
- uses: actions/upload-artifact@v4
3332
with:
@@ -42,11 +41,11 @@ jobs:
4241

4342
- name: Install build dependencies
4443
run: |
45-
pip install guidata babel
44+
pip install babel
4645
47-
- name: Compile translations
46+
- name: Compile translations using Babel
4847
run: |
49-
python -m guidata.utils.translations compile --name plotpy --directory .
48+
pybabel compile -d plotpy/locale -D plotpy
5049
5150
- name: Build sdist
5251
run: pipx run build --sdist

0 commit comments

Comments
 (0)