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 3dda8b8 commit c4da990Copy full SHA for c4da990
docs/requirements.txt
@@ -2,4 +2,3 @@ sphinx
2
nbsphinx
3
nbsphinx-link
4
ipykernel
5
-importlib_metadata;python_version<'3.8'
docs/source/conf.py
@@ -14,7 +14,7 @@
14
#
15
import os
16
import sys
17
-from importlib.metadata import version as identify_version
+from pkg_resources import get_distribution
18
sys.path.insert(0, os.path.abspath('.'))
19
sys.path.insert(0, os.path.abspath('../'))
20
@@ -25,7 +25,7 @@
25
author = 'rsatoolbox authors'
26
27
# The full version
28
-release = identify_version('myproject')
+release = get_distribution('rsatoolbox').version
29
30
# The short X.Y version
31
version = '.'.join(release.split('.')[:2])
0 commit comments