Fetch Sphinx version from Sphinx itself.

This commit is contained in:
Georg Brandl
2008-04-27 20:12:41 +00:00
parent 47f0113778
commit 0ee5e39253

View File

@@ -40,9 +40,10 @@ copyright = '2008, Georg Brandl'
# other places throughout the built documents.
#
# The short X.Y version.
version = '0.1'
import sphinx
version = sphinx.__version__
# The full version, including alpha/beta/rc tags.
release = '0.1'
release = version
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used: