We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ea172d commit 64a156bCopy full SHA for 64a156b
docs/conf.py
@@ -28,11 +28,11 @@ def _get_version_info():
28
if line:
29
line = line.strip()
30
version = re.search(
31
- r"^__version__ = '"
+ r'^__version__ = "'
32
r"(?P<major>\d+)"
33
r"\.(?P<minor>\d+)"
34
r"\.(?P<patch>\d+)"
35
- r"(?P<tag>.*)?'$",
+ r'(?P<tag>.*)?"$',
36
line,
37
re.M,
38
)
setup.py
@@ -15,7 +15,7 @@ def _get_version():
15
for line in fp.readlines():
16
17
18
- version = re.findall(r"^__version__ = '([^']+)'$", line, re.M)
+ version = re.findall(r'^__version__ = "([^"]+)"$', line, re.M)
19
if version:
20
return version[0]
21
except IndexError:
0 commit comments