Skip to content

Commit

Permalink
Fix parsing?
Browse files Browse the repository at this point in the history
  • Loading branch information
frostedoyster committed Dec 2, 2023
1 parent fc64450 commit bb1c6cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
author = 'metatensor-models developers'

# Parse the version from the module.
with open(os.path.join(os.path.dirname(__file__), '..', '..', 'metatensor_models', '__init__.py')) as f:
with open(os.path.join(os.path.dirname(__file__), '..', '..', 'src', 'metatensor_models', '__init__.py')) as f:
version = re.match(r'.*__version__ = \'(.*?)\'', f.read(), re.S).group(1)

release = version
Expand Down

0 comments on commit bb1c6cf

Please sign in to comment.