From f5aa0b3a3acef85d9d0f1fe872c687a6556b6905 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Sat, 27 Mar 2021 18:05:27 +0000 Subject: [PATCH] Don't just check for setup.cfg. --- ognibuild/buildsystem.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ognibuild/buildsystem.py b/ognibuild/buildsystem.py index 0776e57..4f8c271 100644 --- a/ognibuild/buildsystem.py +++ b/ognibuild/buildsystem.py @@ -522,9 +522,6 @@ class SetupPy(BuildSystem): if os.path.exists(os.path.join(path, "setup.py")): logging.debug("Found setup.py, assuming python project.") return cls(path) - if os.path.exists(os.path.join(path, "setup.cfg")): - logging.debug("Found setup.py, assuming python project.") - return cls(path) if os.path.exists(os.path.join(path, "pyproject.toml")): logging.debug("Found pyproject.toml, assuming python project.") return cls(path)