From 6da376ede809a03c9c5e5da1c20875b58bd677a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= Date: Sat, 29 Feb 2020 15:18:19 +0200 Subject: [PATCH] Fixed building the documentation Fixes #341. --- docs/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 18a29b93..42153417 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -49,9 +49,9 @@ # built documents. # here = os.path.abspath(os.path.dirname(__file__)) -with io.open(os.path.join(here, '..', 'wheel', '__init__.py'), +with io.open(os.path.join(here, '..', 'src', 'wheel', '__init__.py'), encoding='utf8') as version_file: - match = re.search(r'__version__ = "((\d+\.\d+\.\d+).*)"', + match = re.search(r"__version__ = '((\d+\.\d+\.\d+).*)'", version_file.read()) # The short X.Y version. version = match.group(2)