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 000faa1 commit 80b37bbCopy full SHA for 80b37bb
docs/conf.py
@@ -3,6 +3,13 @@
3
4
import os
5
6
+def read(*names, **kwargs):
7
+ with open(
8
+ os.path.join(os.path.dirname(__file__), *names), encoding=kwargs.get("encoding", "utf8")
9
+ ) as fh:
10
+ return fh.read()
11
+
12
13
14
extensions = [
15
"sphinx.ext.autodoc",
@@ -29,7 +36,11 @@
29
36
year = "2019"
30
37
author = "Desert contributors"
31
38
copyright = "{0}, {1}".format(year, author)
32
-version = release = "2020.01.03"
39
40
+ns = {}
41
+exec(read('..', "src/desert/_version.py"), ns)
42
+version = release = ns["__version__"]
43
33
44
34
45
pygments_style = "trac"
35
46
templates_path = ["."]
0 commit comments