From e935558ab24b71765bf6c3be559dbcfb107a2959 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Thu, 23 Jul 2020 06:47:05 +0300 Subject: [PATCH] build: fix pyinstaller build https://github.com/pypa/setuptools/issues/1963 --- scripts/hooks/hook-dvc.py | 2 ++ .../hooks/{hook-google.cloud.storage.py => hook-dvc.tree.gs.py} | 0 2 files changed, 2 insertions(+) create mode 100644 scripts/hooks/hook-dvc.py rename scripts/hooks/{hook-google.cloud.storage.py => hook-dvc.tree.gs.py} (100%) diff --git a/scripts/hooks/hook-dvc.py b/scripts/hooks/hook-dvc.py new file mode 100644 index 0000000000..78a8f604d3 --- /dev/null +++ b/scripts/hooks/hook-dvc.py @@ -0,0 +1,2 @@ +# https://github.com/pypa/setuptools/issues/1963 +hiddenimports = ["pkg_resources.py2_warn"] diff --git a/scripts/hooks/hook-google.cloud.storage.py b/scripts/hooks/hook-dvc.tree.gs.py similarity index 100% rename from scripts/hooks/hook-google.cloud.storage.py rename to scripts/hooks/hook-dvc.tree.gs.py