Update Build Versioning

This commit is contained in:
Cameron Yick
2017-10-07 15:10:01 -04:00
parent 7d23fb5f13
commit ab21be291c

View File

@@ -61,11 +61,16 @@ copyright = u"2017, Cameron Yick"
# 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.
#
here = os.path.abspath(os.path.dirname(__file__))
about = {}
with open(os.path.join(here, os.pardir, "tiingo", '__version__.py')) as f:
exec(f.read(), about)
# The short X.Y version.
version = tiingo.__version__
version = about['__version__']
# The full version, including alpha/beta/rc tags.
release = tiingo.__version__
release = about['__version__']
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.