pyinstaller: hooks: bring back hook-googleapiclient.model.py

Got deleted by mistake in https://github.com/iterative/dvc/pull/5682/files
This commit is contained in:
Ruslan Kuprieiev
2021-04-01 21:34:26 +03:00
committed by GitHub
parent 32b342b1e4
commit b2503d5178
@@ -0,0 +1,8 @@
"""Temporary fix for https://github.com/iterative/dvc/issues/5618."""
from PyInstaller.utils.hooks import ( # pylint:disable=import-error
collect_data_files,
copy_metadata,
)
datas = collect_data_files("googleapiclient.discovery")
datas += copy_metadata("google_api_python_client")