From be929320754d0b877d4ffec905de5458a1389de3 Mon Sep 17 00:00:00 2001 From: Katsuhiko Takahashi <207565286+kt-devoss@users.noreply.github.com> Date: Wed, 12 Nov 2025 22:52:08 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(setup):=20add=20setuptools?= =?UTF-8?q?=20dependency=20to=20resolve=20pkg=5Fresources=20import=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added `setuptools` to `install_requires` in setup.cfg - Fixes `ModuleNotFoundError: No module named 'pkg_resources'` on Python 3.12+ - This error occurred because setuptools was not listed as a dependency Note: This commit provides a temporary fix by ensuring setuptools is installed. However, pkg_resources is deprecated and will be removed after 2025-11-30. Future versions should replace pkg_resources with importlib.metadata. --- setup.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index f0b494f..f699912 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,6 +23,7 @@ install_requires = pyfiglet prompt_toolkit inquirer + setuptools python_requires = >=3.6 [options.extras_require] @@ -48,4 +49,4 @@ exclude = dist, .eggs, .tox, - .venv \ No newline at end of file + .venv