Skip to content

Commit 9032cb0

Browse files
committed
Resolve docs/conf.py name collision
1 parent 3af3f00 commit 9032cb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# add these directories to sys.path here. If the directory is relative to the
1111
# documentation root, use os.path.abspath to make it absolute, like shown here.
1212
#
13-
from importlib.metadata import version
13+
import importlib.metadata
1414
import os
1515
import sys
1616

@@ -27,7 +27,7 @@
2727
author = 'Ryan Gibson'
2828

2929
# The full version, including alpha/beta/rc tags
30-
release = version('modularitypruning')
30+
release = importlib.metadata.version('modularitypruning')
3131

3232
# -- General configuration ---------------------------------------------------
3333

0 commit comments

Comments
 (0)