From 225171d3ab40b52d30c329e46f38ae80bb251024 Mon Sep 17 00:00:00 2001 From: Michal Korbela Date: Fri, 27 Sep 2024 15:31:39 +0200 Subject: [PATCH] chore(deps): Deprecate pkg_resources. --- kw/__init__.py | 1 - setup.py | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 kw/__init__.py diff --git a/kw/__init__.py b/kw/__init__.py deleted file mode 100644 index 5284146..0000000 --- a/kw/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__import__("pkg_resources").declare_namespace(__name__) diff --git a/setup.py b/setup.py index 6d461c9..b2bdc20 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from setuptools import find_packages, setup +from setuptools import find_namespace_packages, setup with open("requirements.txt") as f: REQUIREMENTS = f.read().splitlines() @@ -14,11 +14,11 @@ setup( name="kiwi-json", - version="0.10.0", + version="0.10.1", url="https://github.com/kiwicom/kiwi-json", author="Kiwi.com platform team", author_email="platform@kiwi.com", - packages=find_packages(exclude=["test*"]), + packages=find_namespace_packages(exclude=["test*"]), install_requires=REQUIREMENTS, tests_require=TEST_REQUIREMENTS, description="DRY JSON encoder.",