python-Levenshtein icon indicating copy to clipboard operation
python-Levenshtein copied to clipboard

incorrect setuptools dependency

Open 0-wiz-0 opened this issue 3 years ago • 1 comments

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.

0-wiz-0 avatar Jan 05 '22 09:01 0-wiz-0

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.

dhgutteridge avatar Mar 02 '22 22:03 dhgutteridge