diff --git a/.github/workflows/build_executables.yml b/.github/workflows/build_executables.yml index 74a0bdc..aa32741 100644 --- a/.github/workflows/build_executables.yml +++ b/.github/workflows/build_executables.yml @@ -49,7 +49,9 @@ jobs: - name: package cogmood shell: bash -l {0} run: | - cd package + export PYTHONPATH=$PWD/smile:$PYTHONPATH + cd package + echo $PATH export KIVY_GL_BACKEND=angle_sdl2 python -m PyInstaller cogmood_windows.spec - name: save exe diff --git a/package/cogmood_windows.spec b/package/cogmood_windows.spec index 84f63ce..9a9f35b 100644 --- a/package/cogmood_windows.spec +++ b/package/cogmood_windows.spec @@ -11,7 +11,7 @@ data = [ ] a = Analysis(['..\\main.py'], - pathex=[''], + pathex=['..\\smile'], binaries=[], datas=data, hiddenimports=[],