do not install tf when used for creating server wheel

pull/10/head
erogol 2020-08-03 13:00:44 +02:00
parent 10146357a5
commit 0bed77944c
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,5 @@
TF_CPP_MIN_LOG_LEVEL=3
# tests
nosetests tests -x

View File

@ -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)