1
0
Fork 0
mirror of synced 2024-05-02 03:33:05 +12:00
FiraCode/script/bootstrap_macos.sh

23 lines
633 B
Bash
Executable file

#!/bin/bash
set -o errexit -o nounset -o pipefail
cd "`dirname $0`/.."
sudo easy_install-3.8 pip
pip install virtualenv --user
python3 -m virtualenv venv
source venv/bin/activate
# 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 pycairo
pip install git+https://github.com/googlefonts/gftools
pip install fontmake
brew install ttfautohint
brew install woff2
brew tap bramstein/webfonttools
brew install sfnt2woff-zopfli
pip install fontbakery