Skip to content

Commit

Permalink
added .libs dir for sklearn manually, and copy the files manually
Browse files Browse the repository at this point in the history
  • Loading branch information
deinhofer committed Sep 13, 2024
1 parent 7ffd3cc commit 9f0f07d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
8 changes: 8 additions & 0 deletions .github/workflows/pyinstaller_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9f0f07d

Please sign in to comment.