diff options
author | Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org> | 2023-12-14 22:51:37 +0100 |
---|---|---|
committer | Étienne Mollier <emollier@debian.org> | 2023-12-14 22:51:37 +0100 |
commit | 32d0a9faa7c931d95f1792b82985897d98da6935 (patch) | |
tree | 7e222b6f85da3f7ee3c2066fe25983e9f55089e6 | |
parent | a923a2fcc888103ecd62be0dc033c678a7a47abe (diff) |
fix sphinx conf.py file.
Since introduction of nitime/_version.py through the move to pyproject.toml,
the sphinx documentation configuration script does not seem to have followed.
Use of the former variables are causing a variety of errors at documentation
build time.
Author: Étienne Mollier <emollier@debian.org>
Forwarded: https://github.com/nipy/nitime/pull/212
Last-Update: 2023-12-14
Gbp-Pq: Name sphinx-conf-fix.patch
-rw-r--r-- | doc/conf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/conf.py b/doc/conf.py index 7f1fe2b..8aabc40 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -93,12 +93,12 @@ copyright = u'2009, Neuroimaging in Python team' # We read the version info from the source file. ver = {} -ver_file = os.path.join('..', 'nitime', 'version.py') +ver_file = os.path.join('..', 'nitime', '_version.py') with open(ver_file) as f: exec(f.read()) # The short X.Y version. -version = '%s.%s' % (_version_major, _version_minor) +version = '%s.%s' % (version_tuple[0], version_tuple[1]) # The full version, including alpha/beta/rc tags. release = __version__ |