Skip to content

Commit

Permalink
remove prommis build stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelPesce committed Nov 13, 2024
1 parent c6dc5fe commit 93f7ac1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/electron-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Add theme to .env file
working-directory: ./electron/ui
run: |
echo REACT_APP_THEME=prommis >> .env
echo REACT_APP_THEME=watertap >> .env
- name: Install Electron JS dependencies
run: |
Expand All @@ -51,16 +51,16 @@ jobs:
working-directory: ../
run: git clone https://github.com/watertap-org/watertap.git && cd watertap && pip install --progress-bar off .

- name: Install Prommis
run: pip install --progress-bar off prommis
# - name: Install Prommis
# run: pip install --progress-bar off prommis

- name: Install watertap-ui Python package
run: |
pip install --progress-bar off .
- name: Transfer Entry points
run: |
python move_entrypoints.py -p pse_ui_prommis
python move_entrypoints.py
- name: Build Backend
run: npm --prefix electron run build-backend
Expand Down
3 changes: 2 additions & 1 deletion backend/app/main-hooks/hook-watertap.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@

# add all modules to watertap modules hidden imports

for package in ["watertap", "pyomo", "scipy", "prommis"]:
# for package in ["watertap", "pyomo", "scipy", "prommis"]:
for package in ["watertap", "pyomo", "scipy"]:
pkg = importlib.import_module(package)
try:
# base_folder = Path(pkg.__path__[0])
Expand Down

0 comments on commit 93f7ac1

Please sign in to comment.