diff options
author | David Cournapeau <cournape@gmail.com> | 2009-03-27 12:27:44 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-03-27 12:27:44 +0000 |
commit | 46a5e2b4a5dd06339b8c23729c4218d04cb04959 (patch) | |
tree | 8f020a0cd4ef4056327c8f2c037d1300f5a3154e /doc/source/conf.py | |
parent | a70c4833629dcacddcdca118f45fc95e3dd4739d (diff) | |
download | numpy-46a5e2b4a5dd06339b8c23729c4218d04cb04959.tar.gz |
Pick up version from numpy instead of hardcoding them in conf.py/
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: |