File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 20
20
from setuptools import find_packages
21
21
from setuptools import setup
22
22
23
- version = '2.16.0 '
24
- tf_version = '2.16.1 ' # Major version.
23
+ version = '2.17.0rc0 '
24
+ tf_version = '2.17.0rc0 ' # Major version.
25
25
26
- project_name = 'tf-models-official '
26
+ project_name = 'tf-models-no-deps '
27
27
28
28
long_description = """The TensorFlow official models are a collection of
29
29
models that use TensorFlow's high-level APIs.
@@ -67,10 +67,13 @@ def _get_requirements(is_nightly=False):
67
67
version += '.dev' + datetime .datetime .now ().strftime ('%Y%m%d' )
68
68
install_requires .append ('tf-nightly' )
69
69
install_requires .append ('tensorflow-text-nightly' )
70
- else :
70
+ elif project_name == 'tf-models-official' :
71
71
install_requires , dependency_links = _get_requirements ()
72
72
install_requires .append (f'tensorflow~={ tf_version } ' )
73
73
install_requires .append (f'tensorflow-text~={ tf_version } ' )
74
+ else :
75
+ install_requires , dependency_links = _get_requirements ()
76
+ install_requires .append (f'tensorflow~={ tf_version } ' )
74
77
75
78
print ('install_requires: ' , install_requires )
76
79
print ('dependency_links: ' , dependency_links )
You can’t perform that action at this time.
0 commit comments