Commit c25e3e01 authored by Chen Chen's avatar Chen Chen Committed by A. Unique TensorFlower
Browse files

Internal Change

PiperOrigin-RevId: 300796559
parent 5a423a2d
...@@ -13,12 +13,28 @@ ...@@ -13,12 +13,28 @@
# limitations under the License. # limitations under the License.
# ============================================================================== # ==============================================================================
"""Sets up TensorFlow Official Models.""" """Sets up TensorFlow Official Models."""
import datetime
import sys
from setuptools import find_packages from setuptools import find_packages
from setuptools import setup from setuptools import setup
version = '2.1.0.dev2'
project_name = 'tf-models-official'
if '--project_name' in sys.argv:
project_name_idx = sys.argv.index('--project_name')
project_name = sys.argv[project_name_idx + 1]
sys.argv.remove('--project_name')
sys.argv.pop(project_name_idx)
if project_name == 'tf-models-nightly':
version += '.' + datetime.datetime.now().strftime('%Y%m%d%H%M')
setup( setup(
name='tf-models-official', name=project_name,
version='0.0.3.dev1', version=version,
description='TensorFlow Official Models', description='TensorFlow Official Models',
author='Google Inc.', author='Google Inc.',
author_email='no-reply@google.com', author_email='no-reply@google.com',
......
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