Skip to content

Commit

Permalink
update the package finding command
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian committed Jul 9, 2024
1 parent 98653ae commit d94d4d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
id: pyinstaller_cmd
run: |
INSTALL_PATH=$(python -c "import site; print(site.getsitepackages()[0])")
CMD="pyinstaller --name orion --onedir --add-data 'orion_cli/services/*.py:orion_cli/services'"
CMD="pyinstaller --name orion --onedir --add-data 'orion_cli/services/*.py:orion_cli/services' --paths=$INSTALL_PATH"
while IFS= read -r line; do
PACKAGE=$(echo $line | cut -d '=' -f 1)
CMD="$CMD --copy-metadata $PACKAGE --collect-all $PACKAGE"
Expand Down Expand Up @@ -168,6 +168,7 @@ jobs:




build-windows:
runs-on: windows-latest

Expand Down

0 comments on commit d94d4d5

Please sign in to comment.