Skip to content

Commit

Permalink
build: remove pkg_resources in docs/conf.py (#1410)
Browse files Browse the repository at this point in the history
Co-authored-by: arithmetic1728 <[email protected]>
  • Loading branch information
parthea and arithmetic1728 authored Nov 8, 2023
1 parent d93bbd6 commit df1f39f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit df1f39f

Please sign in to comment.