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 b04b846 commit 424eedaCopy full SHA for 424eeda
docs/source/conf.py
@@ -14,6 +14,7 @@
14
15
import sys
16
import os
17
+import pkg_resources
18
19
# If extensions (or modules to document with autodoc) are in another directory,
20
# add these directories to sys.path here. If the directory is relative to the
@@ -64,9 +65,9 @@ def setup(app):
64
65
# built documents.
66
#
67
# The short X.Y version.
-version = '0.0.2'
68
+version = pkg_resources.require("tincan")[0].version
69
# The full version, including alpha/beta/rc tags.
-release = '0.0.2'
70
+release = pkg_resources.require("tincan")[0].version
71
72
# The language for content autogenerated by Sphinx. Refer to documentation
73
# for a list of supported languages.
0 commit comments