bootstrap_macos.sh 633 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. set -o errexit -o nounset -o pipefail
  3. cd "`dirname $0`/.."
  4. sudo easy_install-3.8 pip
  5. pip install virtualenv --user
  6. python3 -m virtualenv venv
  7. source venv/bin/activate
  8. # https://github.com/googlefonts/gftools/issues/121
  9. brew install pkg-config
  10. brew install zlib
  11. pip install -U Pillow==5.4.1 idna==2.8 requests==2.21.0 urllib3==1.24.1
  12. export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
  13. pip install pycairo
  14. pip install git+https://github.com/googlefonts/gftools
  15. pip install fontmake
  16. brew install ttfautohint
  17. brew install woff2
  18. brew tap bramstein/webfonttools
  19. brew install sfnt2woff-zopfli
  20. pip install fontbakery