Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Package"

on:
# workflow_dispatch: # manually triggered
workflow_dispatch: # manually triggered
workflow_run:
workflows: ["Release"]
types: [completed]
Expand All @@ -21,8 +21,8 @@ jobs:
args: '--target x86_64-apple-darwin'
- platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04.
args: ''
# - platform: 'windows-latest'
# args: ''
- platform: 'windows-latest'
args: ''
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
Expand All @@ -36,6 +36,7 @@ jobs:
file src/e3sm_quickview/data/globe.vtk
file src/e3sm_quickview/data/connectivity.nc
echo "LFS file check complete"
shell: bash -l {0}

- name: Get version for tagging
id: get_version
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies = [
"trame-dataclass>=1.2",
"trame-components",
"trame-tauri>=0.6.2",
"Pillow",
]

[project.optional-dependencies]
Expand Down
4 changes: 3 additions & 1 deletion scripts/setup_tauri.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ set -x

pip install .

PVPYTHON_PATH=$(which pvpython.exe) || PVPYTHON_PATH=$(which pvpython)

python -m PyInstaller --clean --noconfirm \
--distpath src-tauri \
--name server --hidden-import pkgutil \
Expand All @@ -19,7 +21,7 @@ python -m PyInstaller --clean --noconfirm \
--collect-all paraview \
--collect-all e3sm_quickview \
--hidden-import pkgutil \
--add-binary="$(which pvpython):." \
--add-binary="$PVPYTHON_PATH:." \
src/e3sm_quickview/app.py

# Generate trame www + quickview
Expand Down
Loading