Skip to content

Commit 775dc1f

Browse files
committed
Use pkgutil instead of deprecated pkg_resources
1 parent f2e5bf7 commit 775dc1f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

news/+pkgutil.internal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Use pkgutil instead of deprecated pkg_resources. @ericof

src/kitconcept/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
__import__("pkg_resources").declare_namespace(__name__)
1+
from pkgutil import extend_path
2+
3+
__path__ = extend_path(__path__, __name__)

0 commit comments

Comments
 (0)