Skip to content

Commit

Permalink
move data append from hook-idaes to hook-watertap
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelPesce committed Aug 15, 2024
1 parent d8bed0c commit b248219
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 1 addition & 3 deletions backend/app/idaes-hooks/hook-idaes.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,4 @@ def extract_file_names(files, prefix):
datas.append((f'{each_one}', f'{dst}'))

print(datas)

# add lorem ipsum.txt for jaraco
datas.append(('internal/assets/Lorem ipsum.txt', 'jaraco/text'))

7 changes: 3 additions & 4 deletions backend/app/main-hooks/hook-watertap.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,9 @@
continue
datas.append((src_name, "watertap/core"))
hiddenimports = list(imports)
# hiddenimports.append("pyomo.common.dependencies.numpy")
# print("hiddenimports")
# print(hiddenimports)
# # manually add all pyomo hidden imports
# add lorem ipsum.txt for jaraco
datas.append(('internal/assets/Lorem ipsum.txt', 'jaraco/text'))

pyomo_imports = [
"networkx",
"pint",
Expand Down

0 comments on commit b248219

Please sign in to comment.