Skip to content

Commit ed62c89

Browse files
committed
Hopefully fix readthedocs
1 parent 4ff7ca6 commit ed62c89

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/source/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,9 @@
9494
# built documents.
9595
#
9696
# The short X.Y version.
97-
import trio_asyncio
98-
version = trio_asyncio.__version__
97+
import importlib.metadata
98+
99+
version = importlib.metadata.version("trio_asyncio")
99100
# The full version, including alpha/beta/rc tags.
100101
release = version
101102

0 commit comments

Comments
 (0)