Michael Merickel
2013-08-04 95d5b72927484fa3882c5c47bf79d591a5af50a5
update sphinx to use the version from the package automatically
1 files modified
4 ■■■ changed files
docs/conf.py 4 ●●● patch | view | raw | blame | history
docs/conf.py
@@ -19,6 +19,8 @@
warnings.simplefilter('ignore', DeprecationWarning)
import pkg_resources
# skip raw nodes
from sphinx.writers.text import TextTranslator
from sphinx.writers.latex import LaTeXTranslator
@@ -93,7 +95,7 @@
# other places throughout the built documents.
#
# The short X.Y version.
version = '1.5dev'
version = pkg_resources.get_distribution('pyramid').version
# The full version, including alpha/beta/rc tags.
release = version