summaryrefslogtreecommitdiff
path: root/bin/build-dist
diff options
context:
space:
mode:
authorglobalcow <globalcow@users.noreply.github.com>2018-07-31 14:53:15 +0200
committerGitHub <noreply@github.com>2018-07-31 14:53:15 +0200
commit91aaf404e64b98ec5dbdf4e19beb9b16da4204f5 (patch)
treea78aeea69bc2fd70e7851e899d3f37f91a3d1770 /bin/build-dist
parent6c5e256d73500be4674e8778d80b12c5b6228335 (diff)
Add --windowed argument to pyinstaller for OS X
Diffstat (limited to 'bin/build-dist')
-rwxr-xr-xbin/build-dist6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/build-dist b/bin/build-dist
index 79c89838..3b82e882 100755
--- a/bin/build-dist
+++ b/bin/build-dist
@@ -22,6 +22,12 @@ pyinstaller_args+="--hidden-import gi.repository.Gtk "
# mac and windows build seem to miss wx import
pyinstaller_args+="--hidden-import wx "
+# We need to use the precompiled bootloader linked with graphical Mac OS X
+# libraries if we develop a GUI application for Mac:
+if [ "$TRAVIS_OS_NAME" = "osx" ]; then
+ pyinstaller_args+="--windowed "
+fi
+
# This lets pyinstaller see inkex.py, etc.
pyinstaller_args+="-p inkscape-0.92.3/share/extensions "