diff --git a/.github/binaries/windows/sklearn/.libs/msvcp140.dll b/.github/binaries/windows/sklearn/.libs/msvcp140.dll new file mode 100644 index 0000000..0a50239 Binary files /dev/null and b/.github/binaries/windows/sklearn/.libs/msvcp140.dll differ diff --git a/.github/binaries/windows/sklearn/.libs/vcomp140.dll b/.github/binaries/windows/sklearn/.libs/vcomp140.dll new file mode 100644 index 0000000..a39af2a Binary files /dev/null and b/.github/binaries/windows/sklearn/.libs/vcomp140.dll differ diff --git a/.github/workflows/pyinstaller_windows.yml b/.github/workflows/pyinstaller_windows.yml index a7b5e78..276b236 100644 --- a/.github/workflows/pyinstaller_windows.yml +++ b/.github/workflows/pyinstaller_windows.yml @@ -32,6 +32,13 @@ jobs: poetry config virtualenvs.in-project true poetry install --no-root poetry env use .\.venv\Scripts\python.exe + # cp -r .\.github\binaries\windows\sklearn\.libs . + + dir .\.venv\Lib\site-packages\sklearn\.libs\ + poetry run python -m pip uninstall scikit-learn -y + poetry run python -m pip install scikit-learn + dir .\.venv\Lib\site-packages\sklearn\.libs\ + poetry run python -m pip uninstall numpy -y poetry run python -m pip install numpy poetry run python .\python-env.py @@ -42,6 +49,7 @@ jobs: run: | cp .\.github\pyinstaller\gesture-mouse.spec.win gesture-mouse.spec poetry run pyinstaller.exe gesture-mouse.spec --clean --noconfirm + cp -r .github/binaries/windows/sklearn/.libs .\dist\gesture-mouse\sklearn\ # pyinstaller gui.py -D --add-data config:config --add-data data:data --collect-all mediapipe -n gesture-mouse --contents-directory . # Uploads artifact