From 6be7882d4eae7277dfef3971dd3522e0a33506f1 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 21 Nov 2023 21:54:28 +0000 Subject: [PATCH] build: remove pkg_resources from 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 aeaf3bed..aced5d30 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,7 +15,7 @@ import os import sys -import pkg_resources +import proto sys.path.insert(0, os.path.abspath("..")) @@ -27,7 +27,7 @@ copyright = "2018, Google LLC" author = "Google LLC" -version = pkg_resources.get_distribution("proto-plus").version +version = proto.version.__version__ # -- General configuration ---------------------------------------------------