Auto version usage.

This commit is contained in:
Kenneth Reitz
2010-10-10 02:33:03 -04:00
parent a230844914
commit 3e391fc8e3
+4 -3
View File
@@ -12,11 +12,12 @@
# serve to show the default.
import sys, os
import tablib
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('..'))
# -- General configuration -----------------------------------------------------
@@ -48,9 +49,9 @@ copyright = u'2010, Kenneth Reitz'
# built documents.
#
# The short X.Y version.
version = '0.8.3'
version = tablib.core.__version__
# The full version, including alpha/beta/rc tags.
release = '0.8.3'
release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.