From a956090d6d2ceb6dac9c0736f74fc69c658bdc2e Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Fri, 8 Nov 2019 22:10:06 +0200 Subject: [PATCH] pyinstaller: add pywin32/win32file hook Also added a simple test to `dvc-test` repo [1]. [1] https://github.com/iterative/dvc-test/commit/5748744fa1ebb4e265f08fedcddc66a17e8bd914 Fixes #2754 --- scripts/hooks/hook-dvc.system.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 scripts/hooks/hook-dvc.system.py diff --git a/scripts/hooks/hook-dvc.system.py b/scripts/hooks/hook-dvc.system.py new file mode 100644 index 000000000..41afd5bf6 --- /dev/null +++ b/scripts/hooks/hook-dvc.system.py @@ -0,0 +1,4 @@ +import os + +if os.name == "nt": + hiddenimports = ["win32file"]