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 04920b9 commit ba8b245Copy full SHA for ba8b245
docs/conf.py
@@ -22,10 +22,16 @@
22
copyright = '2018, Evgeni Golov'
23
author = 'Evgeni Golov'
24
25
-# The short X.Y version
26
-version = ''
27
-# The full version, including alpha/beta/rc tags
28
-release = '0.0.1'
+try:
+ import pkg_resources
+ package = pkg_resources.require("apypie")[0]
+ version = package.version
29
+ release = package.version
30
+except Exception:
31
+ # The short X.Y version
32
+ version = ''
33
+ # The full version, including alpha/beta/rc tags
34
+ release = ''
35
36
37
# -- General configuration ---------------------------------------------------
requirements-docs.txt
@@ -0,0 +1,2 @@
1
+-e .
2
+sphinx
0 commit comments