We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ecbeca commit 1df0c19Copy full SHA for 1df0c19
doc/conf.py
@@ -16,10 +16,9 @@
16
copyright = "2014-21, Meshmode contributors"
17
18
ver_dic = {}
19
-exec(
20
- compile(
21
- open("../meshmode/version.py").read(), "../meshmode/version.py", "exec"),
22
- ver_dic)
+with open("../meshmode/version.py") as _inf:
+ exec(compile(_inf.read(), "../meshmode/version.py", "exec"), ver_dic)
+
23
version = ".".join(str(x) for x in ver_dic["VERSION"])
24
# The full version, including alpha/beta/rc tags.
25
release = ver_dic["VERSION_TEXT"]
0 commit comments