From b2482195184f34aee85039a7d1d57830e0e9182f Mon Sep 17 00:00:00 2001 From: MichaelPesce Date: Thu, 15 Aug 2024 18:47:03 -0400 Subject: [PATCH] move data append from hook-idaes to hook-watertap --- backend/app/idaes-hooks/hook-idaes.py | 4 +--- backend/app/main-hooks/hook-watertap.py | 7 +++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/backend/app/idaes-hooks/hook-idaes.py b/backend/app/idaes-hooks/hook-idaes.py index 95b97b2f..accafc40 100644 --- a/backend/app/idaes-hooks/hook-idaes.py +++ b/backend/app/idaes-hooks/hook-idaes.py @@ -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')) \ No newline at end of file + \ No newline at end of file diff --git a/backend/app/main-hooks/hook-watertap.py b/backend/app/main-hooks/hook-watertap.py index 2e5bfdf0..49ab3d48 100644 --- a/backend/app/main-hooks/hook-watertap.py +++ b/backend/app/main-hooks/hook-watertap.py @@ -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",