From a412512480b003da14d2117814d6955869891305 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Wed, 8 Nov 2023 17:26:07 +0000 Subject: [PATCH] build: remove pkg_resources in docs/conf.py --- 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