Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwoer committed Jan 14, 2025
1 parent a02052b commit ed29b60
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions release/pyinstaller/directlfq.spec
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ datas, binaries, hidden_imports = PyInstaller.utils.hooks.collect_all(
)

# add extra packages that don't have pyinstaller hooks
extra_pkgs = ["panel", ] # other alphaX packages would be added here
for pkg in extra_pkgs:
_datas, _binaries, _hidden_imports = PyInstaller.utils.hooks.collect_all(
pkg,
include_py_files=True
)
datas+=_datas
binaries+=_binaries
hidden_imports+=_hidden_imports
# extra_pkgs = ["alphabase", ] # other alphaX packages would be added here
# for pkg in extra_pkgs:
# _datas, _binaries, _hidden_imports = PyInstaller.utils.hooks.collect_all(
# pkg,
# include_py_files=True
# )
# datas+=_datas
# binaries+=_binaries
# hidden_imports+=_hidden_imports

# prepare hidden imports and datas
hidden_imports = [h for h in hidden_imports if "__pycache__" not in h]
Expand Down

0 comments on commit ed29b60

Please sign in to comment.