From ef6f6580df6e8fbce913eecc1fe7e0f8caf1315b Mon Sep 17 00:00:00 2001 From: rejbasket <39080670+rejbasket@users.noreply.github.com> Date: Mon, 22 May 2023 22:33:19 +0200 Subject: Update electron version to v14.2.9 (#2214) Authored-by: rejbasket Co-authored-by: Kaalleen Co-authored-by: Lex Neva --- bin/build-python | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'bin/build-python') diff --git a/bin/build-python b/bin/build-python index 92e1802a..b8dd61ba 100755 --- a/bin/build-python +++ b/bin/build-python @@ -2,26 +2,6 @@ set -e info_year=$( date "+%Y" ) -site_packages="$(python -c "import os; print(os.path.dirname(os.__file__) + '/site-packages')")" -arch=$(uname -m) -if [ "$BUILD" = "linux" ]; then - pyinstaller_args+="--add-binary /usr/lib/"$arch"-linux-gnu/gio/modules/libgiolibproxy.so:. " - pyinstaller_args+="--add-binary /usr/lib/"$arch"-linux-gnu/libproxy.so.1:. " - pyinstaller_args+="--add-binary /lib/"$arch"-linux-gnu/libnsl.so.1:. " - pyinstaller_args+="--add-binary /usr/lib/"$arch"-linux-gnu/libxcb.so.1:. " -fi - -# This one's tricky. ink/stitch doesn't actually _use_ gi.repository.Gtk, -# but it does use GTK (through wxPython). pyinstaller has some special -# logic to handle GTK apps that is engaged when you import -# gi.repository.Gtk that pulls in things like themes, icons, etc. Without -# that, the Params dialog is unthemed and barely usable. This hidden -# import option is actually the only reason we had to install python-gi -# above! -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: @@ -29,9 +9,6 @@ if [ "$BUILD" = "osx" -o "$BUILD" = "windows" ]; then pyinstaller_args+="--windowed " fi -# This lets pyinstaller see inkex.py, etc. -pyinstaller_args+="-p inkscape/share/extensions " - # output useful debugging info that helps us trace library dependency issues pyinstaller_args+="--log-level DEBUG " @@ -67,7 +44,7 @@ if [ "$BUILD" = "windows" ]; then pyinstaller_args+="--version-file installer_scripts/file_version_info.txt " python -m PyInstaller $pyinstaller_args inkstitch.py else - LD_LIBRARY_PATH="${site_packages}/wx" python -m PyInstaller $pyinstaller_args --strip inkstitch.py; + python -m PyInstaller $pyinstaller_args --strip inkstitch.py; fi # pyinstaller put a whole mess of libraries under dist/inkstitch. We'd like -- cgit v1.2.3