projects
/
linpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Centralize version information
[linpy.git]
/
doc
/
conf.py
diff --git
a/doc/conf.py
b/doc/conf.py
index
ed93095
..
da25c6c
100644
(file)
--- a/
doc/conf.py
+++ b/
doc/conf.py
@@
-52,9
+52,11
@@
copyright = '2014, MINES ParisTech'
# built documents.
#
# The short X.Y version.
# built documents.
#
# The short X.Y version.
-version = '1.0'
+with open('../linpy/_version.py') as file:
+ exec(file.read())
+version = __version__
# The full version, including alpha/beta/rc tags.
# The full version, including alpha/beta/rc tags.
-release =
'1.0a'
+release =
__version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@
-242,7
+244,7
@@
man_pages = [
# dir menu entry, description, category)
texinfo_documents = [
('index', 'LinPy', 'LinPy Documentation',
# dir menu entry, description, category)
texinfo_documents = [
('index', 'LinPy', 'LinPy Documentation',
- 'MINES ParisTech', 'LinPy', 'A polyheral library based on
ISL
.',
+ 'MINES ParisTech', 'LinPy', 'A polyheral library based on
isl
.',
'Miscellaneous'),
]
'Miscellaneous'),
]