From 0bed77944cf839b53bd7b74b85e08fbcbfaded35 Mon Sep 17 00:00:00 2001 From: erogol Date: Mon, 3 Aug 2020 13:00:44 +0200 Subject: [PATCH] do not install tf when used for creating server wheel --- run_tests.sh | 2 ++ setup.py | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index e5e46476..9dd471b8 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -1,3 +1,5 @@ +TF_CPP_MIN_LOG_LEVEL=3 + # tests nosetests tests -x diff --git a/setup.py b/setup.py index 1302dc99..3d4c705c 100644 --- a/setup.py +++ b/setup.py @@ -128,5 +128,6 @@ setup( # for some reason having tensorflow in 'install_requires' # breaks some of the dependencies. -for module in requirements['pip_install']: - pip_install(module) +if 'bdist_wheel' not in unknown_args: + for module in requirements['pip_install']: + pip_install(module)