summaryrefslogtreecommitdiff
path: root/bin/build-python
diff options
context:
space:
mode:
authorrejbasket <39080670+rejbasket@users.noreply.github.com>2025-06-12 19:31:25 +0200
committerGitHub <noreply@github.com>2025-06-12 19:31:25 +0200
commit68a69d9501b52a37f83e29f7173110406dc4b994 (patch)
tree77fcd5cf8a151479f807858424f43282834c3318 /bin/build-python
parent7bce32e2cc2a1b516c7507436e349cdb1b757d4d (diff)
numpy import fix (#3796)
* removed strip flag from linux pyinstaller that caused numpy import issue * test numpy binary with strip flag * added clean flag to pyinstaller args * done testing removed strip flag from pyinstaller args --------- Co-authored-by: rejbasket <rejbasket@users.noreply.github.com>
Diffstat (limited to 'bin/build-python')
-rwxr-xr-xbin/build-python7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/build-python b/bin/build-python
index 5a93f610..d976dec4 100755
--- a/bin/build-python
+++ b/bin/build-python
@@ -48,13 +48,12 @@ elif [ "$BUILD" = "windows" ]; then
pyinstaller_args+="--version-file installer_scripts/file_version_info.txt "
fi
-# Finally we build for each os with the finalized settings
+# Finally we build for windows and macOS with the finalized settings
if [ "$BUILD" = "osx" -o "$BUILD" = "windows" ]; then
pyinstaller_args+="--windowed "
- python -m PyInstaller $pyinstaller_args inkstitch.py;
-else
- python -m PyInstaller $pyinstaller_args --strip inkstitch.py;
fi
+# Run command to build the inkstich program
+python -m PyInstaller $pyinstaller_args inkstitch.py
# pyinstaller put a whole mess of libraries under dist/inkstitch. We'd like
# to put some more user-accessible stuff like examples and palettes in