git-ai-commit
git-ai-commit copied to clipboard
🐞 fix(setup): add setuptools dependency to resolve pkg_resources import error
Description
- Added
setuptoolstoinstall_requiresin 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.
Test Plan
fixes: #82