Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 21 additions & 12 deletions .ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,29 @@ aptget_update || aptget_update retry || aptget_update retry

set -e

sudo apt-get -qq install libfreetype6-dev liblcms2-dev libtiff-dev python3-tk\
ghostscript libjpeg-turbo8-dev libopenjp2-7-dev\
cmake meson imagemagick libharfbuzz-dev libfribidi-dev\
sway wl-clipboard libopenblas-dev nasm
packages=(
cmake
ghostscript
imagemagick # ImageMagick is used by Tests/test_file_palm.py
libfreetype6-dev
libfribidi-dev
libharfbuzz-dev
libjpeg-turbo8-dev
liblcms2-dev
libopenjp2-7-dev
libtiff-dev
meson
nasm
netpbm # netpbm provides ppmquant and ppmtogif for GifImagePlugin._save_netpbm
python3-tk
sway
wl-clipboard
)
sudo apt-get -qq install --no-install-recommends "${packages[@]}"

python3 -m pip install --upgrade pip
python3 -m pip install --upgrade wheel
python3 -m pip install coverage
python3 -m pip install defusedxml
python3 -m pip install ipython
python3 -m pip install olefile
python3 -m pip install -U pytest
python3 -m pip install -U pytest-cov
python3 -m pip install -U pytest-timeout
python3 -m pip install --upgrade coverage defusedxml ipython olefile pytest pytest-cov pytest-timeout

# optional test dependencies, only install if there's a binary package.
python3 -m pip install --only-binary=:all: numpy || true
python3 -m pip install --only-binary=:all: pyarrow || true
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/macos-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,9 @@
set -e

brew bundle --file=.github/workflows/Brewfile
export PKG_CONFIG_PATH="/usr/local/opt/openblas/lib/pkgconfig"

python3 -m pip install coverage
python3 -m pip install defusedxml
python3 -m pip install ipython
python3 -m pip install olefile
python3 -m pip install -U pytest
python3 -m pip install -U pytest-cov
python3 -m pip install -U pytest-timeout
python3 -m pip install --upgrade coverage defusedxml ipython olefile pytest pytest-cov pytest-timeout

# optional test dependencies, only install if there's a binary package.
python3 -m pip install --only-binary=:all: numpy || true
python3 -m pip install --only-binary=:all: pyarrow || true
Expand Down