Skip to content
Merged
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
13 changes: 6 additions & 7 deletions script/bootstrap_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@
set -o errexit -o nounset -o pipefail
cd "`dirname $0`/.."

sudo easy_install-3.8 pip
pip install virtualenv --user
python3 -m virtualenv venv
brew install python@3.12
python3.12 -m venv venv
source venv/bin/activate

# https://github.com/googlefonts/gftools/issues/121
## https://github.com/googlefonts/gftools/issues/121
brew install pkg-config
brew install zlib
pip install -U Pillow==5.4.1 idna==2.8 requests==2.21.0 urllib3==1.24.1
export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
pip install -U Pillow==8.0.1 idna==2.8 requests==2.21.0 urllib3==1.24.1
export PKG_CONFIG_PATH="/opt/homebrew/opt/libffi/lib/pkgconfig"
pip install pycairo
pip install git+https://github.com/googlefonts/gftools
pip install gftools

pip install fontmake
brew install ttfautohint
Expand Down