From 0171bcdbf0112c0a40ad69ab2b64e098878f34d4 Mon Sep 17 00:00:00 2001 From: frostedoyster Date: Sat, 2 Dec 2023 22:20:39 +0100 Subject: [PATCH] Try again --- docs/src/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/conf.py b/docs/src/conf.py index d58bf3e3a..1e9c24ffd 100644 --- a/docs/src/conf.py +++ b/docs/src/conf.py @@ -6,6 +6,7 @@ import os import re + # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information @@ -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