mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
distutils-r1.eclass: Look for entry_points in setup.cfg
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user