Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hook-gcloud.py #68

Merged
merged 3 commits into from
Nov 11, 2020
Merged

Add hook-gcloud.py #68

merged 3 commits into from
Nov 11, 2020

Conversation

happyeric77
Copy link
Contributor

@happyeric77 happyeric77 commented Nov 11, 2020

Add hook-cloud.py: pyinstaller not working with pyrebase google module.

Fixes #5316.

@happyeric77 happyeric77 requested review from a team and bwoodsend and removed request for a team November 11, 2020 11:49
news/68.new.rst Outdated
@@ -0,0 +1 @@
Add a hook for ``gcloud``
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Add a hook for ``gcloud``
Add a hook for ``gcloud`` which requires its distribution metadata.

# ------------------------------------------------------------------

from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('gcloud')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have a trailing newline to keep the linter happy.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tks for the advice. let me make a change.

@bwoodsend
Copy link
Member

Perfect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pkg_resources.DistributionNotFound: The 'gcloud' distribution was not found
2 participants