diff options
| author | rejbasket <39080670+rejbasket@users.noreply.github.com> | 2025-06-12 19:31:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-12 19:31:25 +0200 |
| commit | 68a69d9501b52a37f83e29f7173110406dc4b994 (patch) | |
| tree | 77fcd5cf8a151479f807858424f43282834c3318 | |
| parent | 7bce32e2cc2a1b516c7507436e349cdb1b757d4d (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>
| -rwxr-xr-x | bin/build-python | 7 |
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 |
