From da875fcb62c801b8d19b3d4d984ad963574fb356 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 2 Mar 2023 21:01:10 +0100 Subject: Adding upstream version 1.6.0. Signed-off-by: Daniel Baumann --- preflight/update-preflight-libs.sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 preflight/update-preflight-libs.sh (limited to 'preflight') diff --git a/preflight/update-preflight-libs.sh b/preflight/update-preflight-libs.sh new file mode 100755 index 0000000..80c7f91 --- /dev/null +++ b/preflight/update-preflight-libs.sh @@ -0,0 +1,28 @@ +#!/bin/sh +# Update preflight libs + +# Copyright (c) 2022, SIL International (http://www.sil.org) +# Released under the MIT License (http://opensource.org/licenses/MIT) +# maintained by Nicolas Spalinger + +echo "Which python are we using? and from where?" +type python3 +python3 --version + +echo "Installing/Updating pip" +python3 -m pip install --upgrade pip + +echo "Populating/updating the preflight dependencies in user mode" + +python3 -m pip install -e git+https://github.com/silnrsi/pysilfont.git@master#egg=pysilfont git+https://github.com/googlefonts/GlyphsLib.git@main#egg=glyphsLib git+https://github.com/fonttools/ufoLib2.git@master#egg=ufoLib2 git+https://github.com/fonttools/fonttools.git@main#egg=fontTools git+https://github.com/typemytype/glyphConstruction.git@master#egg=glyphConstruction fs mutatorMath defcon fontMath --user + +echo "" +echo "Please check these dependencies have been installed correctly: defcon, fontMath, fontTools, glyphConstruction, glyphsLib, MutatorMath, pysilfont and ufoLib2. Only these are currently needed for preflight." +echo "make sure your PATH includes ~/Library/Python/3.10/bin where the scripts are installed" +echo "add export PATH=\"\$PATH:\$HOME/Library/Python/3.10/bin\" to ~/.bash_profile or ~/.zshrc" + +echo "" +type psfversion +echo "" +psfversion + -- cgit v1.2.3