Update setup.py

Co-authored-by: Reuben Morais <reuben.morais@gmail.com>
This commit is contained in:
lissyx 2020-06-17 12:50:17 +02:00 committed by GitHub
parent f4f4903b2b
commit 07c8daef43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ def main():
else:
install_requires = install_requires_base + decoder_pypi_dep
if len(os.environ.get('DS_NOTENSORFLOW', '')) > 0:
if os.environ.get('DS_NOTENSORFLOW', ''):
install_requires = install_requires
else:
install_requires = install_requires + tensorflow_pypi_dep