mirror of
https://github.com/hydrosquall/tiingo-python.git
synced 2026-02-23 12:12:32 +01:00
Update Build Versioning
This commit is contained in:
11
docs/conf.py
11
docs/conf.py
@@ -61,11 +61,16 @@ copyright = u"2017, Cameron Yick"
|
|||||||
# The version info for the project you're documenting, acts as replacement
|
# The version info for the project you're documenting, acts as replacement
|
||||||
# for |version| and |release|, also used in various other places throughout
|
# for |version| and |release|, also used in various other places throughout
|
||||||
# the built documents.
|
# 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.
|
# The short X.Y version.
|
||||||
version = tiingo.__version__
|
version = about['__version__']
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = tiingo.__version__
|
release = about['__version__']
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
|||||||
Reference in New Issue
Block a user