kopia lustrzana https://github.com/inkstitch/inkstitch
rodzic
6922f8ff7e
commit
38c47a49e5
|
@ -66,9 +66,17 @@ if [ "$BUILD" = "windows" ]; then
|
||||||
pyinstaller_args+="--i electron/build/icons/win/inkstitch.ico "
|
pyinstaller_args+="--i electron/build/icons/win/inkstitch.ico "
|
||||||
pyinstaller_args+="--version-file installer_scripts/file_version_info.txt "
|
pyinstaller_args+="--version-file installer_scripts/file_version_info.txt "
|
||||||
python -m PyInstaller $pyinstaller_args inkstitch.py
|
python -m PyInstaller $pyinstaller_args inkstitch.py
|
||||||
else
|
elif [ "$BUILD" = "linux" ]; then
|
||||||
# without the LD_LIBRARY_PATH, it seems that pyinstaller can't find all of
|
# without the LD_LIBRARY_PATH, it seems that pyinstaller can't find all of
|
||||||
# wxpython's shared libraries
|
# wxpython's shared libraries
|
||||||
|
LD_LIBRARY_PATH="${site_packages}/wx" python -m PyInstaller $pyinstaller_args inkstitch.py;
|
||||||
|
|
||||||
|
# We've found that stripping the _fblas library in scipy/linalg causes a bizarre
|
||||||
|
# error:
|
||||||
|
#
|
||||||
|
# ELF load command address/offset not properly aligned
|
||||||
|
find dist/inkstitch -type f | grep -E '.so($|\.)' | grep -v _fblas | xargs strip
|
||||||
|
else
|
||||||
LD_LIBRARY_PATH="${site_packages}/wx" python -m PyInstaller $pyinstaller_args --strip inkstitch.py;
|
LD_LIBRARY_PATH="${site_packages}/wx" python -m PyInstaller $pyinstaller_args --strip inkstitch.py;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue