2021-08-09 02:26:47 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
set -o errexit -o nounset -o pipefail
|
2026-03-02 21:29:13 +01:00
|
|
|
cd "$(dirname "$0")/.."
|
2021-02-09 22:21:44 +01:00
|
|
|
|
2026-03-02 21:29:13 +01:00
|
|
|
if [ "$(id -u)" -eq 0 ]; then
|
|
|
|
|
SUDO=""
|
|
|
|
|
else
|
|
|
|
|
SUDO="sudo"
|
|
|
|
|
fi
|
2021-02-09 22:21:44 +01:00
|
|
|
|
2026-03-02 21:29:13 +01:00
|
|
|
$SUDO apt-get update
|
|
|
|
|
$SUDO apt-get install -y pkg-config zlib1g-dev ttfautohint woff2 sfnt2woff-zopfli
|
2021-02-09 22:21:44 +01:00
|
|
|
|
2026-03-02 21:29:13 +01:00
|
|
|
pip install -r requirements.txt
|