From 6b239aae12f14bffd0d720cf72f1e8b087d945a7 Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Mon, 28 Aug 2023 19:26:25 +0100 Subject: [PATCH] Replace deprecated __package__ --- linkcheck/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linkcheck/__init__.py b/linkcheck/__init__.py index e16c53e1..c8ebf39e 100644 --- a/linkcheck/__init__.py +++ b/linkcheck/__init__.py @@ -42,7 +42,7 @@ from .logconf import ( ) COMMAND_NAME = "linkchecker" -PACKAGE_NAME = __package__ +PACKAGE_NAME = __spec__.parent def module_path():