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
4 changes: 2 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
shell: bash -l {0}
- name: Package using PyInstaller
run: |
chmod +x scripts/setup_tauri2.sh
./scripts/setup_tauri2.sh
chmod +x scripts/setup_tauri.sh
./scripts/setup_tauri.sh
shell: bash -l {0}
- name: setup node
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ jobs:

- name: Run help command
run: |
python -m e3sm_quickview.app2 --help
python -m e3sm_quickview.app --help
shell: bash -l {0}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ packages = [

[project.scripts]
quickview-vue2 = "e3sm_quickview.app:main"
quickview = "e3sm_quickview.app2:main"
quickview = "e3sm_quickview.app:main"

[tool.ruff.lint.per-file-ignores]
# Ignore star import issues in ParaView plugins
Expand Down
14 changes: 9 additions & 5 deletions scripts/setup_tauri.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,21 @@ python -m PyInstaller --clean --noconfirm \
--name server --hidden-import pkgutil \
--collect-all trame \
--collect-all trame_client \
--collect-all trame_components \
--collect-all trame_grid_layout \
--collect-all trame_dataclass \
--collect-all trame_vtk \
--collect-all trame_vuetify \
--collect-all trame_tauri \
--collect-all pyproj \
--collect-all netCDF4 \
--collect-all paraview \
--collect-all quickview \
--collect-all e3sm_quickview \
--hidden-import pkgutil \
--add-binary="$(which pvpython):." \
quickview/app.py
src/e3sm_quickview/app2.py

python -m trame.tools.www --output ./src-tauri/www --client-type vue2
# Generate trame www + quickview
python -m trame.tools.www --output ./src-tauri/www
python -m trame.tools.www --output ./src-tauri/www e3sm_quickview.module

# Precompile install to speedup start (maybe?)
./src-tauri/server/server --timeout 1 --server
30 changes: 0 additions & 30 deletions scripts/setup_tauri2.sh

This file was deleted.

Loading
Loading