@@ -13,24 +13,21 @@ aptget_update()
13
13
return 1
14
14
fi
15
15
}
16
- if [[ $( uname) != CYGWIN* ]]; then
17
- aptget_update || aptget_update retry || aptget_update retry
18
- fi
16
+ aptget_update || aptget_update retry || aptget_update retry
19
17
20
18
set -e
21
19
22
- if [[ $( uname) != CYGWIN* ]]; then
23
- sudo apt-get -qq install libfreetype6-dev liblcms2-dev libtiff-dev python3-tk\
24
- ghostscript libjpeg-turbo8-dev libopenjp2-7-dev\
25
- cmake meson imagemagick libharfbuzz-dev libfribidi-dev\
26
- sway wl-clipboard libopenblas-dev nasm
27
- fi
20
+ sudo apt-get -qq install libfreetype6-dev liblcms2-dev libtiff-dev python3-tk\
21
+ ghostscript libjpeg-turbo8-dev libopenjp2-7-dev\
22
+ cmake meson imagemagick libharfbuzz-dev libfribidi-dev\
23
+ sway wl-clipboard libopenblas-dev nasm
28
24
29
25
python3 -m pip install --upgrade pip
30
26
python3 -m pip install --upgrade wheel
31
27
python3 -m pip install coverage
32
28
python3 -m pip install defusedxml
33
29
python3 -m pip install ipython
30
+ python3 -m pip install numpy
34
31
python3 -m pip install olefile
35
32
python3 -m pip install -U pytest
36
33
python3 -m pip install -U pytest-cov
@@ -40,36 +37,24 @@ python3 -m pip install pyroma
40
37
# fails on beta 3.14 and PyPy
41
38
python3 -m pip install --only-binary=:all: pyarrow || true
42
39
43
- if [[ $( uname) != CYGWIN* ]]; then
44
- python3 -m pip install numpy
45
-
46
- # PyQt6 doesn't support PyPy3
47
- if [[ $GHA_PYTHON_VERSION == 3.* ]]; then
48
- sudo apt-get -qq install libegl1 libxcb-cursor0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxkbcommon-x11-0
49
- # TODO Update condition when pyqt6 supports free-threading
50
- if ! [[ " $PYTHON_GIL " == " 0" ]]; then python3 -m pip install pyqt6 ; fi
51
- fi
52
-
53
- # Pyroma uses non-isolated build and fails with old setuptools
54
- if [[ $GHA_PYTHON_VERSION == 3.9 ]]; then
55
- # To match pyproject.toml
56
- python3 -m pip install " setuptools>=77"
57
- fi
40
+ # PyQt6 doesn't support PyPy3
41
+ if [[ $GHA_PYTHON_VERSION == 3.* ]]; then
42
+ sudo apt-get -qq install libegl1 libxcb-cursor0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxkbcommon-x11-0
43
+ # TODO Update condition when pyqt6 supports free-threading
44
+ if ! [[ " $PYTHON_GIL " == " 0" ]]; then python3 -m pip install pyqt6 ; fi
45
+ fi
58
46
59
- # webp
60
- pushd depends && ./install_webp.sh && popd
47
+ # webp
48
+ pushd depends && ./install_webp.sh && popd
61
49
62
- # libimagequant
63
- pushd depends && ./install_imagequant.sh && popd
50
+ # libimagequant
51
+ pushd depends && ./install_imagequant.sh && popd
64
52
65
- # raqm
66
- pushd depends && ./install_raqm.sh && popd
53
+ # raqm
54
+ pushd depends && ./install_raqm.sh && popd
67
55
68
- # libavif
69
- pushd depends && ./install_libavif.sh && popd
56
+ # libavif
57
+ pushd depends && ./install_libavif.sh && popd
70
58
71
- # extra test images
72
- pushd depends && ./install_extra_test_images.sh && popd
73
- else
74
- cd depends && ./install_extra_test_images.sh && cd ..
75
- fi
59
+ # extra test images
60
+ pushd depends && ./install_extra_test_images.sh && popd
0 commit comments