We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0816136 commit 3287eb9Copy full SHA for 3287eb9
1 file changed
docs/conf.py
@@ -54,7 +54,7 @@ def get_version():
54
try:
55
import re
56
# From http://stackoverflow.com/a/3619714/17498
57
- cached_version = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
+ cached_version = re.search(r"^version = ['\"]([^'\"]*)['\"]",
58
cached_version_line, re.M).group(1)
59
except:
60
raise RuntimeError("Unable to find version in %s" % version_file)
0 commit comments