Updated to automatically read version number for docs.

这个提交包含在:
craig-warren
2015-10-31 21:10:16 +00:00
父节点 768fac6ccf
当前提交 f14983b912

查看文件

@@ -68,10 +68,9 @@ author = 'Craig Warren and Antonis Giannopoulos'
#
# The short X.Y version.
# Read version number from gprMax/gprMax.py
#version = re.search('^__version__\s*=\s*\'(.*)\'',
# open('../../gprMax/gprMax/gprMax.py').read(),
# re.M).group(1)
version = '3.0.0b3'
version = re.search('^__version__\s*=\s*\'(.*)\'',
open('../../gprMax/gprMax.py').read(),
re.M).group(1)
# The full version, including alpha/beta/rc tags.
release = version + '(Bowmore)'