summarylogtreecommitdiffstats
path: root/fix_doc_version.patch
blob: 38e34b8b94aed1874e640a190f9608897f9f0cc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/docs/conf.py	2020-09-18 04:29:50.000000000 +0800
+++ b/docs/conf.py	2020-09-18 19:54:11.025457472 +0800
@@ -76,8 +76,8 @@
 # |version| and |release|, also used in various other places throughout the
 # built documents.
 
-from pkg_resources import get_distribution
-version = release = get_distribution(setup_cfg['name']).version
+from spectral_cube import __version__
+version = release = __version__
 
 # -- Options for HTML output --------------------------------------------------