Commit fdac80fe authored by Hongkun Yu's avatar Hongkun Yu Committed by A. Unique TensorFlower
Browse files

Update the stale setup.py. 2.7 has been released:

https://github.com/tensorflow/models/releases/tag/v2.7.0

PiperOrigin-RevId: 410273035
parent 9cd7a576
...@@ -20,7 +20,7 @@ import sys ...@@ -20,7 +20,7 @@ import sys
from setuptools import find_packages from setuptools import find_packages
from setuptools import setup from setuptools import setup
version = '2.5.0' version = '2.7.0'
project_name = 'tf-models-official' project_name = 'tf-models-official'
...@@ -61,8 +61,8 @@ if project_name == 'tf-models-nightly': ...@@ -61,8 +61,8 @@ if project_name == 'tf-models-nightly':
install_requires.append('tf-nightly') install_requires.append('tf-nightly')
install_requires.append('tensorflow-text-nightly') install_requires.append('tensorflow-text-nightly')
else: else:
install_requires.append('tensorflow>=2.4.0') install_requires.append('tensorflow>=2.7.0')
install_requires.append('tensorflow-text>=2.4.0') install_requires.append('tensorflow-text>=2.7.0')
print('install_requires: ', install_requires) print('install_requires: ', install_requires)
print('dependency_links: ', dependency_links) print('dependency_links: ', dependency_links)
...@@ -88,5 +88,5 @@ setup( ...@@ -88,5 +88,5 @@ setup(
}, },
install_requires=install_requires, install_requires=install_requires,
dependency_links=dependency_links, dependency_links=dependency_links,
python_requires='>=3.6', python_requires='>=3.7',
) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment