diff options
Diffstat (limited to 'doc/source/conf.py')
-rw-r--r-- | doc/source/conf.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index 553de1771..27ff48a5f 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -39,10 +39,12 @@ copyright = '2008-2009, The Scipy community' # The default replacements for |version| and |release|, also used in various # other places throughout the built documents. # +import numpy.version # The short X.Y version. -version = '1.4.dev' +version = numpy.version.short_version # The full version, including alpha/beta/rc tags. -release = '1.4.dev' +release = numpy.version.version +print version, release # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: |