From 888630365ce1f5df93cf8c7f9e9af6fe38f8a374 Mon Sep 17 00:00:00 2001 From: Ales Erjavec Date: Mon, 30 Oct 2023 14:20:35 +0100 Subject: [PATCH] docs: Replace pkg_resources --- docs/source/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index ceda11b22..cf26be9cb 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -16,8 +16,8 @@ import os import shlex -import pkg_resources -dist = pkg_resources.get_distribution("orange-canvas-core") +import importlib_metadata +dist = importlib_metadata.distribution("orange-canvas-core") # 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