Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
frostedoyster committed Dec 2, 2023
1 parent bb1c6cf commit 0171bcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import os
import re


# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

Expand All @@ -15,8 +16,7 @@

# Parse the version from the module.
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)

version = re.match(r".*__version__ = \"(.*?)\"", f.read(), re.S).group(1)
release = version


Expand Down

0 comments on commit 0171bcd

Please sign in to comment.