flake8-eradicate
flake8-eradicate copied to clipboard
Switch from pkg_resources to importlib.metadata
Is there any interest in switching the pkg_resources dependency to the stdlib importlib.mtetadata? This would allow removing the dependency on setuptools.
Since this is only available on python3.8+ it would require a new dependency on the backport package importlib_metadata for python3.7. It would also mean dropping support for python3.6 but that is already EOL since 2021-12-23.
I am happy to submit a PR for this.
PR is welcome!