summaryrefslogtreecommitdiffstats
path: root/preflight
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-02 20:01:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-02 20:01:10 +0000
commitda875fcb62c801b8d19b3d4d984ad963574fb356 (patch)
tree3d85503747c56c2a387b291524442946f4bebb73 /preflight
parentInitial commit. (diff)
downloadpysilfont-da875fcb62c801b8d19b3d4d984ad963574fb356.tar.xz
pysilfont-da875fcb62c801b8d19b3d4d984ad963574fb356.zip
Adding upstream version 1.6.0.upstream/1.6.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'preflight')
-rwxr-xr-xpreflight/update-preflight-libs.sh28
1 files changed, 28 insertions, 0 deletions
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
+