Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhitingHu committed Apr 10, 2019
1 parent b820d1c commit c7af509
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,17 @@

# General information about the project.
project = u'Texar'
copyright = u'2018, Texar'
copyright = u'2019, Texar'
author = u'Texar'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = u'v0.1'
version = u'v0.2'
# The full version, including alpha/beta/rc tags.
release = u'v0.1.0'
release = u'v0.2.1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down Expand Up @@ -143,7 +143,7 @@

# The name for this set of Sphinx documents.
# "<project> v<release> documentation" by default.
html_title = u'Texar v0.1'
html_title = u'Texar'

# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setuptools.setup(
name="texar",
version="0.1",
version="0.2.1",
url="https://github.com/asyml/texar",

description="Toolkit for Text Generation and Beyond",
Expand Down
4 changes: 3 additions & 1 deletion texar/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018 The Texar Authors. All Rights Reserved.
# Copyright 2019 The Texar Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -21,6 +21,8 @@

# pylint: disable=wildcard-import

from texar.version import VERSION as __version__

from texar.module_base import *
from texar.hyperparams import *
from texar.context import *
Expand Down
20 changes: 20 additions & 0 deletions texar/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2019 The Texar Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

_MAJOR = "0"
_MINOR = "2"
_REVISION = "1-unreleased"

VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR)
VERSION = "{0}.{1}.{2}".format(_MAJOR, _MINOR, _REVISION)

0 comments on commit c7af509

Please sign in to comment.