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 1a1c053 commit 2589ce0Copy full SHA for 2589ce0
docs/source/conf.py
@@ -14,6 +14,7 @@
14
import os
15
from pathlib import Path
16
from jinja2 import FileSystemLoader, Environment
17
+import importlib.metadata
18
19
# -- Project information (unique to each project) -------------------------------------
20
@@ -22,7 +23,7 @@
22
23
author = "labscript suite contributors"
24
25
# The full version, including alpha/beta/rc tags
-from labscript_utils import __version__ as version # noqa: E402
26
+version = importlib.metadata.version('labscript-utils')
27
28
release = version
29
0 commit comments