bootstrap_linux.sh 707 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. set -o errexit -o nounset -o pipefail
  3. cd "`dirname $0`/.."
  4. sudo apt update
  5. sudo apt install -y python3.8 python3-setuptools python3.8-dev pkg-config zlib1g ttfautohint woff2 sfnt2woff-zopfli
  6. sudo python3.8 -m easy_install pip
  7. python3.8 -m pip install virtualenv --user
  8. python3.8 -m virtualenv venv
  9. source venv/bin/activate
  10. # https://github.com/googlefonts/gftools/issues/121
  11. python3.8 -m 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. python3.8 -m pip install pycairo
  14. python3.8 -m pip install git+https://github.com/googlefonts/gftools
  15. python3.8 -m pip install fontmake
  16. python3.8 -m pip install fontbakery