MartinSahlen/cloud-functions-python

Add hooks to upstream pyinstaller

bowen4 opened this issue · 2 comments

I came upon this repository while attempting to package a grpc and google cloud firestore project using pyinstaller, as upstream pyinstaller does not have the hooks necessary to package these. Could I add the hooks under cloudfn/hooks to upstream pyinstaller? I am new to github so I apologise if this issue is not the right place for this.

I included the line:
datas += copy_metadata('google-cloud-firestore')

in file hook-google.cloud.py in .\Lib\site-packages\PyInstaller\hooks

It solved for me.

I would recommend looking at https://cloud.google.com/functions/docs/writing/#functions-writing-helloworld-http-python and not use this library (I am the author of this library).