projects
/
FFT-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c141b65
)
doc:source:conf.py: import FFT-tools version number (vs. hardcoding it)
author
W. Trevor King
<wking@tremily.us>
Mon, 19 Nov 2012 10:05:46 +0000
(
05:05
-0500)
committer
W. Trevor King
<wking@tremily.us>
Mon, 19 Nov 2012 10:05:46 +0000
(
05:05
-0500)
doc/source/conf.py
patch
|
blob
|
history
diff --git
a/doc/source/conf.py
b/doc/source/conf.py
index 2b2a66037025cc4e761cf1c19fc1431181684ea2..a97ad3bf4d680a32df09cced33cbcaa0ddd9432e 100755
(executable)
--- a/
doc/source/conf.py
+++ b/
doc/source/conf.py
@@
-24,6
+24,9
@@
_doc_dir = os.path.dirname(_this_dir)
_base_dir = os.path.dirname(_doc_dir)
sys.path.insert(0, _base_dir)
+from FFT_tools import __version__
+
+
# -- General configuration -----------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
@@
-65,7
+68,7
@@
copyright = '2008-2012, {}'.format(author)
# built documents.
#
# The short X.Y version.
-version =
'0.4'
+version =
__version__
# The full version, including alpha/beta/rc tags.
release = version