diff options
| author | rejbasket <39080670+rejbasket@users.noreply.github.com> | 2023-06-20 17:07:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-20 17:07:15 +0200 |
| commit | 27d40d19b9b369a9fa411219dbb1e9ef9f473f79 (patch) | |
| tree | 19b249d85ccbdb02657bb84193760eb897fd5095 | |
| parent | 92623d460d82f01c01353a5a5c992ec53baf7f41 (diff) | |
Windows numpy fix (#2377)
* added Gio and wx to hidden imports
changed numpy and scipy version for compatibility
* update versions numpy and scipy
---------
Co-authored-by: rejbasket <rejbasket@users.noreply.github.com>
| -rw-r--r-- | .github/workflows/build.yml | 5 | ||||
| -rwxr-xr-x | bin/build-python | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 378c4c18..3d78875d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -110,8 +110,9 @@ jobs: git config --system core.longpaths true python -m pip install --upgrade pip python -m pip install wheel - # scipy 1.9.1 is the last version to support 32-bit windows - python -m pip install scipy==1.9.1 + # Numpy and Scipy version for older cpu compatibility + python -m pip install numpy==1.23.1 + python -m pip install scipy==1.9.0 python -m pip install -r requirements.txt python -m pip install pyinstaller diff --git a/bin/build-python b/bin/build-python index d0d20670..2a8cda7c 100755 --- a/bin/build-python +++ b/bin/build-python @@ -25,6 +25,8 @@ fi if [ "$BUILD" = "linux" ]; then pyinstaller_args+="--hidden-import gi.repository.Gtk " + pyinstaller_args+="--hidden-import gi.repository.Gio " + pyinstaller_args+="--hidden-import wx " fi |
