cloud-functions-python icon indicating copy to clipboard operation
cloud-functions-python copied to clipboard

Add hooks to upstream pyinstaller

Open bowen4 opened this issue 6 years ago • 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.

bowen4 avatar Sep 12 '18 17:09 bowen4

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.

randolfo75 avatar Jan 12 '19 21:01 randolfo75

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).

MartinSahlen avatar Jan 14 '19 00:01 MartinSahlen