retrieve version information from chainer-chemistry package in conf.py
@@ -20,6 +20,9 @@ import sys
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+__version__ = pkg_resources.get_distribution('chainer-chemistry').version
+
+
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
@@ -63,9 +66,9 @@ author = 'Preferred Networks, Inc.'
# built documents.
#
# The short X.Y version.
-version = '0.0.1'
+version = __version__
# The full version, including alpha/beta/rc tags.
-release = '0.0.1'
+release = __version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
