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>
pull/2384/head
rejbasket 2023-06-20 17:07:15 +02:00 zatwierdzone przez GitHub
rodzic 92623d460d
commit 27d40d19b9
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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