From cd11906762fde18d9e2943b7dca2709222d1130b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= <31284574+kloczek@users.noreply.github.com> Date: Wed, 12 Jul 2023 17:24:34 +0100 Subject: [PATCH] Remove depreciated declare_namespace()` (#177) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fix removes declare_namespace() which is no longer needed. it used old style namespaces which has been using `pkg_resources` module which is part of the `setuptools` and which is as well depreceted now. Signed-off-by: Tomasz Kłoczko --- sphinx_tabs/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sphinx_tabs/__init__.py b/sphinx_tabs/__init__.py index 491e10d..a5cfdf5 100644 --- a/sphinx_tabs/__init__.py +++ b/sphinx_tabs/__init__.py @@ -1,3 +1 @@ __version__ = "3.4.1" - -__import__("pkg_resources").declare_namespace(__name__)