Title: ModuleNotFoundError: No module named 'pkg_resources' with setuptools >= 82.0.0
Body:
## Bug
breadability fails to import with setuptools >= 82.0.0, which removed `pkg_resources`.
### Error
File ".../breadability/init.py", line 9, in
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
### Root cause
`__init__.py` uses `pkg_resources` solely for version detection:
```python
import pkg_resources
__version__ = pkg_resources.get_distribution("breadability").version
pkg_resources was deprecated in setuptools 67.5.0 and removed in setuptools 82.0.0
(released February 8, 2026). This breaks any environment with a recent setuptools,
including Python 3.13 on Termux and likely many others.
Fix
Replace with stdlib importlib.metadata (available since Python 3.8):
from importlib.metadata import version
__version__ = version("breadability")
One-line fix. Happy to submit a PR if the maintainer is responsive.
---
Fair warning: given the issue tracker is mostly stale since ~2017, a PR might be more useful than an issue — but filing the issue first is the right protocol.
Title:
ModuleNotFoundError: No module named 'pkg_resources'with setuptools >= 82.0.0Body:
File ".../breadability/init.py", line 9, in
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
pkg_resourceswas deprecated in setuptools 67.5.0 and removed in setuptools 82.0.0(released February 8, 2026). This breaks any environment with a recent setuptools,
including Python 3.13 on Termux and likely many others.
Fix
Replace with stdlib
importlib.metadata(available since Python 3.8):One-line fix. Happy to submit a PR if the maintainer is responsive.