From df1f39f2e7d0beab648062de107257e877a59e2d Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Wed, 8 Nov 2023 14:42:18 -0500 Subject: [PATCH] build: remove pkg_resources in docs/conf.py (#1410) Co-authored-by: arithmetic1728 <58957152+arithmetic1728@users.noreply.github.com> --- docs/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index b01c7b6cb..8ab609390 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,7 +13,7 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import pkg_resources +import google.auth # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -66,7 +66,7 @@ # built documents. # # The short X.Y version. -version = pkg_resources.get_distribution("google-auth").version +version = google.auth.__version__ # The full version, including alpha/beta/rc tags. release = version