We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1cea4e commit 1a6bc17Copy full SHA for 1a6bc17
official/pip_package/setup.py
@@ -24,6 +24,7 @@
24
tf_version = '2.11.0' # Major version.
25
26
project_name = 'tf-models-official'
27
+# Use project_name = 'tf-models-no-deps' for Mac release.
28
29
long_description = """The TensorFlow official models are a collection of
30
models that use TensorFlow's high-level APIs.
@@ -61,7 +62,7 @@ def _get_requirements():
61
62
version += '.dev' + datetime.datetime.now().strftime('%Y%m%d')
63
install_requires.append('tf-nightly')
64
install_requires.append('tensorflow-text-nightly')
-else:
65
+elif project_name == 'tf-models-official':
66
install_requires.append(f'tensorflow~={tf_version}')
67
install_requires.append(f'tensorflow-text~={tf_version}')
68
0 commit comments