Skip to content

Commit

Permalink
add back those hidden imports
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelPesce committed Nov 11, 2024
1 parent 799e9c4 commit b9b883a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions backend/app/main-hooks/hook-watertap.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,35 @@
hiddenimports = list(imports)
# add lorem ipsum.txt for jaraco
datas.append(('internal/assets/Lorem ipsum.txt', 'jaraco/text'))

pyomo_imports = [
"networkx",
"pint",
"numbers",
"pyutilib",
"sys",
"logging",
"re",
"pkg_resources.extern",
"pyomo.common.dependencies.numpy",
"collections.abc",
"types",
"pyutilib",
"pyutilib.component",
"importlib.abc",
"importlib",
"ctypes",
"random",
"yaml",
"numpy",
"scipy._lib.array_api_compat.numpy.fft",
"scipy._lib.array_api_compat.numpy",
"scipy._lib.array_api_compat",
"scipy._lib.",
"scipy.sparse",
"scipy.special._special_ufuncs",
"scipy.special._cdflib",
"scipy.special",
]

hiddenimports.extend(pyomo_imports)

0 comments on commit b9b883a

Please sign in to comment.