mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
pyinstaller: hooks: fix google.cloud.storage hook
Fixes #1697 Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
from PyInstaller.utils.hooks import copy_metadata
|
||||
|
||||
datas = copy_metadata("google-cloud-storage")
|
||||
|
||||
# NOTE: including "requests" metadata because of google-resumable-media
|
||||
# bug. See [1] for more info.
|
||||
#
|
||||
# [1] https://github.com/googleapis/google-resumable-media-python/issues/59
|
||||
datas += copy_metadata("requests")
|
||||
|
||||
Reference in New Issue
Block a user