Skip to content

Commit a63b3db

Browse files
committed
DOC: Get correct version from setuptools_scm _version.py
1 parent 81a4316 commit a63b3db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/tools/build_modref_templates.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def abort(error):
5757
from runpy import run_path
5858

5959
try:
60-
source_version = run_path(version_file)['get_versions']()['version']
60+
source_version = run_path(version_file)['version']
6161
except (FileNotFoundError, KeyError):
6262
pass
6363
if source_version == '0+unknown':

0 commit comments

Comments
 (0)