Skip to content

Commit

Permalink
Merge pull request #212 from emollier/fix-conf.py
Browse files Browse the repository at this point in the history
doc/conf.py: fix after move to nitime/_version.py.
  • Loading branch information
arokem authored Apr 29, 2024
2 parents 8eb2545 + 96e80d0 commit 88b8541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@
# 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__

Expand Down

0 comments on commit 88b8541

Please sign in to comment.