-
Notifications
You must be signed in to change notification settings - Fork 139
Hook for google (grpc/protobuf) #911
Copy link
Copy link
Open
Labels
Description
Taverio987
opened on May 13, 2025
Issue body actions
For module "google" used with gRPC framework
Eg `hook-google.py`
I coped with compiling with PyInstaller by adding this hook
Yes, but it needs several hidden imports.
--hidden-import=google
--hidden-import=google.protobuf
It works for my project with the different features I used from grpc/protobuf but it could fail or not being enough, which I don't hope, for other features.
But this is still better than none.
hook-google.py:
from PyInstaller.utils.hooks import collect_all
datas, binaries, hiddenimports = collect_all('google')
Reactions are currently unavailable