distutils-r1.eclass: Look for entry_points in setup.cfg

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-01-17 06:26:52 +01:00
parent 77d8347916
commit ced874146f

View File

@@ -449,6 +449,8 @@ _distutils_verify_use_setuptools() {
elif grep -E -q -s '(from|import)\s+setuptools' setup.py; then
if grep -E -q -s 'entry_points\s*=' setup.py; then
expected=rdepend
elif grep -F -q -s '[options.entry_points]' setup.cfg; then
expected=rdepend
else
expected=bdepend
fi