Skip to content

Hook for google (grpc/protobuf) #911

@Taverio987

Description

@Taverio987
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')

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions