File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-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.15 .0'
24
- tf_version = '2.15.0 ' # Major version.
23
+ version = '2.16 .0'
24
+ tf_version = '2.16.1 ' # Major version.
25
25
26
- project_name = 'tf-models-official'
26
+ project_name = 'tf-models-official-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.
@@ -64,10 +64,14 @@ def _get_requirements(is_nightly=False):
64
64
version += '.dev' + datetime .datetime .now ().strftime ('%Y%m%d' )
65
65
install_requires .append ('tf-nightly' )
66
66
install_requires .append ('tensorflow-text-nightly' )
67
- else :
67
+ elif project_name == 'tf-models-official' :
68
68
install_requires , dependency_links = _get_requirements ()
69
69
install_requires .append (f'tensorflow~={ tf_version } ' )
70
70
install_requires .append (f'tensorflow-text~={ tf_version } ' )
71
+ else :
72
+ install_requires , dependency_links = _get_requirements ()
73
+ install_requires .append (f'tensorflow~={ tf_version } ' )
74
+
71
75
72
76
print ('install_requires: ' , install_requires )
73
77
print ('dependency_links: ' , dependency_links )
You can’t perform that action at this time.
0 commit comments