Skip to content

Commit

Permalink
Modified CI to find pyinstaller spec file.
Browse files Browse the repository at this point in the history
  • Loading branch information
mliberty1 committed Jun 8, 2023
1 parent a5c21c7 commit 2284a7a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,17 @@ jobs:
- name: Install the Joulescope UI package
run: python -m pip install -f dist joulescope_ui

- name: Find python path
shell: bash
id: find_python
run: echo "filename=$(python -c \"import joulescope_ui, os; print(os.path.dirname(joulescope_ui.__file__))\")" >> $GITHUB_OUTPUT

- name: Install pyinstaller
run: python -m pip install pyinstaller

- name: Build installer
run: pyinstaller joulescope.spec
working-directory: ${{steps.find_python.outputs.filename}}

- name: Upload installer
uses: actions/upload-artifact@v3
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ include CHANGELOG.md
include CREDITS.html
include LICENSE.txt
include README.md
include joulescope.iss
include joulescope.spec
recursive-include joulescope_ui *.svg *.json *.qss *.rcc *.html *.md *.txt *.py
include joulescope_ui/test/*.jls

0 comments on commit 2284a7a

Please sign in to comment.