Skip to content

Commit e78157b

Browse files
committed
Update requirements
1 parent c175956 commit e78157b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# tensorflow>=2.0.0,<2.5.0 # optional added by setup.py
1+
# tensorflow>=2.0.0,<2.5.0 # required at runtime
22
packaging
33
scipy>=1.3.1
44
pandas>=0.25.3
55
numpy>=1.16.5
66
scikit-learn>=0.22.1
77
lightgbm>=2.2.0
88
category_encoders>=2.1.0
9-
hypernets==0.2.3
9+
hypernets==0.2.5.1
1010
h5py==2.10.0
1111
eli5

setup.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
from setuptools import find_packages
88
from setuptools import setup
99

10-
try:
11-
import tensorflow
12-
13-
tf_installed = True
14-
except ImportError:
15-
tf_installed = False
10+
# try:
11+
# import tensorflow
12+
#
13+
# tf_installed = True
14+
# except ImportError:
15+
# tf_installed = False
1616

1717

1818
def read_requirements(file_path='requirements.txt'):
@@ -66,8 +66,8 @@ def execfile(fname, globs, locs=None):
6666
name = 'deeptables'
6767
version = read_version(os.path.join(name, '_version.py'))
6868
requirements = read_requirements()
69-
if not tf_installed:
70-
requirements = ['tensorflow>=2.0.0,<2.5.0', ] + requirements
69+
# if not tf_installed:
70+
# requirements = ['tensorflow>=2.0.0,<2.5.0', ] + requirements
7171

7272
MIN_PYTHON_VERSION = '>=3.6.*'
7373

0 commit comments

Comments
 (0)