Skip to content

Commit 88b8541

Browse files
authored
Merge pull request #212 from emollier/fix-conf.py
doc/conf.py: fix after move to nitime/_version.py.
2 parents 8eb2545 + 96e80d0 commit 88b8541

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@
9494
# We read the version info from the source file.
9595
ver = {}
9696

97-
ver_file = os.path.join('..', 'nitime', 'version.py')
97+
ver_file = os.path.join('..', 'nitime', '_version.py')
9898
with open(ver_file) as f:
9999
exec(f.read())
100100

101101
# The short X.Y version.
102-
version = '%s.%s' % (_version_major, _version_minor)
102+
version = '%s.%s' % (version_tuple[0], version_tuple[1])
103103
# The full version, including alpha/beta/rc tags.
104104
release = __version__
105105

0 commit comments

Comments
 (0)