Skip to content

Commit 59dc460

Browse files
upgrade setuptools if installed
1 parent a6cca9f commit 59dc460

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ jobs:
7373
RAYLIB_PLATFORM: ${{ matrix.raylib-platform }}
7474
run: |
7575
python -m pip install --upgrade pip
76-
pip3 install "cffi>=1.17.1"
77-
pip3 install wheel
78-
pip3 install setuptools
76+
pip3 install --upgrade "cffi>=1.17.1"
77+
pip3 install --upgrade wheel
78+
pip3 install --upgrade setuptools
7979
python setup.py bdist_wheel --plat-name macosx_10_13_x86_64
8080
8181
- name: Test
@@ -236,9 +236,9 @@ jobs:
236236
RAYLIB_PLATFORM: ${{ matrix.raylib-platform }}
237237
run: |
238238
python -m pip install --upgrade pip
239-
pip3 install "cffi>=1.17.1"
240-
pip3 install wheel
241-
pip3 install setuptools
239+
pip3 install --upgrade "cffi>=1.17.1"
240+
pip3 install --upgrade wheel
241+
pip3 install --upgrade setuptools
242242
python setup.py bdist_wheel --plat-name manylinux2014_x86_64
243243
- name: Test
244244
run: |
@@ -319,9 +319,9 @@ jobs:
319319
copy ${{ runner.temp }}\SDL2\lib\x64\SDL2.lib .
320320
copy ${{ runner.temp }}\SDL2\lib\x64\SDL2.dll raylib\
321321
python -m pip install --upgrade pip
322-
pip3 install "cffi>=1.17.1"
323-
pip3 install wheel
324-
pip3 install setuptools
322+
pip3 install --upgrade "cffi>=1.17.1"
323+
pip3 install --upgrade wheel
324+
pip3 install --upgrade setuptools
325325
del raylib\dynamic\*.so* >nul 2>&1
326326
del raylib\dynamic\*.dll >nul 2>&1
327327
del raylib\dynamic\*.dylib >nul 2>&1
@@ -386,9 +386,9 @@ jobs:
386386
- name: Build raylib-python-cffi
387387
run: |
388388
python -m pip install --upgrade pip
389-
pip3 install "cffi>=1.17.1"
390-
pip3 install wheel
391-
pip3 install setuptools
389+
pip3 install --upgrade "cffi>=1.17.1"
390+
pip3 install --upgrade wheel
391+
pip3 install --upgrade setuptools
392392
python setup.py sdist
393393
394394
- name: Upload build Artifact wheel
@@ -417,9 +417,9 @@ jobs:
417417
- name: Build raylib-python-cffi-dynamic
418418
run: |
419419
python -m pip install --upgrade pip
420-
pip3 install "cffi>=1.17.1"
421-
pip3 install wheel
422-
pip3 install setuptools
420+
pip3 install --upgrade "cffi>=1.17.1"
421+
pip3 install --upgrade wheel
422+
pip3 install --upgrade setuptools
423423
cd dynamic
424424
python setup.py sdist
425425

0 commit comments

Comments
 (0)