diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-08-05 20:25:04 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-08-05 20:25:04 -0400 |
| commit | c72a1d761f8bb427b78896b2546257cfc7aa1f69 (patch) | |
| tree | 1acb2fd292be575247f778ae5d34d96ccee2c285 /bin/build-dist | |
| parent | f8f108367abf71e2e8a2eb7718a2759568337c53 (diff) | |
| parent | 1ab23cd8742b023ddaa832cb84d73f48b5950a14 (diff) | |
Merge remote-tracking branch 'origin/master' into lexelby-bean-stitch
Diffstat (limited to 'bin/build-dist')
| -rwxr-xr-x | bin/build-dist | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/build-dist b/bin/build-dist index 79c89838..a96b7506 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 " @@ -45,6 +51,11 @@ mkdir dist/bin mv dist/inkstitch/* dist/bin mv dist/bin dist/inkstitch +# on Mac, pyinstaller creates a .app version as well, but we don't need that +if [ "$TRAVIS_OS_NAME" = "osx" ]; then + rm -rf dist/inkstitch.app/ +fi + # Inkscape doesn't let us run native binaries as extensions(?!). Instead we # add this stub script which executes the binary that pyinstaller creates. cp stub.py dist/inkstitch.py |
