diff options
author | Alex Grönholm <alex.gronholm@nextday.fi> | 2020-02-29 15:18:19 +0200 |
---|---|---|
committer | Alex Grönholm <alex.gronholm@nextday.fi> | 2020-02-29 15:18:19 +0200 |
commit | 6da376ede809a03c9c5e5da1c20875b58bd677a4 (patch) | |
tree | d032fb6203cd4b850abfc443349d65834b415e25 | |
parent | 0036f80513457a95a309c81d8a63f113b52dbafa (diff) | |
download | wheel-git-6da376ede809a03c9c5e5da1c20875b58bd677a4.tar.gz |
Fixed building the documentation
Fixes #341.
-rw-r--r-- | docs/conf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py index 18a29b9..4215341 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -49,9 +49,9 @@ copyright = u'2012, Daniel Holth' # 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) |