From 06066a300db6297e4f78935a89d11115a7bfb4a3 Mon Sep 17 00:00:00 2001 From: Andrei Tcibin Date: Wed, 3 Apr 2019 16:34:15 +0300 Subject: [PATCH] chore: Add requests package hidden import. Add requests package hidden import in order to bypass the importing issue described in: https://github.com/googleapis/google-resumable-media-python/issues/59 --- pipe-cli/build_linux.sh | 1 + pipe-cli/build_windows.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/pipe-cli/build_linux.sh b/pipe-cli/build_linux.sh index c46ffcae04..086c7e27b5 100644 --- a/pipe-cli/build_linux.sh +++ b/pipe-cli/build_linux.sh @@ -51,6 +51,7 @@ python2 $PYINSTALLER_PATH/pyinstaller/pyinstaller.py \ --hidden-import=functools \ --hidden-import=re \ --hidden-import=subprocess \ + --hidden-import=requests \ -y \ --clean \ --runtime-tmpdir $PIPE_CLI_RUNTIME_TMP_DIR \ diff --git a/pipe-cli/build_windows.sh b/pipe-cli/build_windows.sh index 09ddca5254..b8c448276a 100644 --- a/pipe-cli/build_windows.sh +++ b/pipe-cli/build_windows.sh @@ -45,6 +45,7 @@ pyinstaller --add-data "/src/res/effective_tld_names.dat.txt;tld/res/" \ --hidden-import=functools \ --hidden-import=re \ --hidden-import=subprocess \ + --hidden-import=requests \ -y \ --clean \ --workpath /tmp \