Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit df1f39f

Browse files
build: remove pkg_resources in docs/conf.py (#1410)
Co-authored-by: arithmetic1728 <58957152+arithmetic1728@users.noreply.github.com>
1 parent d93bbd6 commit df1f39f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# All configuration values have a default; values that are commented out
1414
# serve to show the default.
1515

16-
import pkg_resources
16+
import google.auth
1717

1818
# If extensions (or modules to document with autodoc) are in another directory,
1919
# add these directories to sys.path here. If the directory is relative to the
@@ -66,7 +66,7 @@
6666
# built documents.
6767
#
6868
# The short X.Y version.
69-
version = pkg_resources.get_distribution("google-auth").version
69+
version = google.auth.__version__
7070
# The full version, including alpha/beta/rc tags.
7171
release = version
7272

0 commit comments

Comments
 (0)