python-Levenshtein
python-Levenshtein copied to clipboard
incorrect setuptools dependency
setuptools is listed as an install_requires in setup.py, but the installed library does not use it nor pkg_resources.
I think this is at most a setup_requires.
Separately, the entry_points definition in setup.py can also be problematic. Being empty, it doesn't actually serve any purpose as I understand it, but it causes different packaging behaviour with setuptools >=60.9 than before (entry_points.txt now gets removed, but is retained as an empty file with older versions). This complicates matters for downstream packagers who support both Python 2.7 (using setuptools 44) and recent releases.