File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 2020from setuptools import find_packages
2121from setuptools import setup
2222
23- version = '2.17 .0'
24- tf_version = '2.17 .0' # Major version.
23+ version = '2.18 .0'
24+ tf_version = '2.18 .0' # Major version.
2525
26- project_name = 'tf-models-official '
26+ project_name = 'tf-models-no-deps '
2727
2828long_description = """The TensorFlow official models are a collection of
2929models that use TensorFlow's high-level APIs.
@@ -67,10 +67,13 @@ def _get_requirements(is_nightly=False):
6767 version += '.dev' + datetime .datetime .now ().strftime ('%Y%m%d' )
6868 install_requires .append ('tf-nightly' )
6969 install_requires .append ('tensorflow-text-nightly' )
70- else :
70+ elif project_name == 'tf-models-official' :
7171 install_requires , dependency_links = _get_requirements ()
7272 install_requires .append (f'tensorflow~={ tf_version } ' )
7373 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 } ' )
7477
7578print ('install_requires: ' , install_requires )
7679print ('dependency_links: ' , dependency_links )
You can’t perform that action at this time.
0 commit comments