Skip to content

Commit fb6f2f3

Browse files
committed
Update conf.py
1 parent 424c47b commit fb6f2f3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
import os
1313
import sys
1414

15-
import setuptools_scm
16-
1715
# Use the currently checked out folium of this folder
1816
sys.path.insert(0, os.path.abspath(os.pardir))
1917

@@ -56,7 +54,9 @@
5654
# |version| and |release|, also used in various other places throughout the
5755
# built documents.
5856

59-
version = release = setuptools_scm.get_version()
57+
from importlib.metadata import version as get_version
58+
59+
version = release = get_version("setuptools_scm")
6060
print(f"Version: {version}")
6161

6262
# The language for content autogenerated by Sphinx. Refer to documentation

0 commit comments

Comments
 (0)