From e8d857db21bb7ac29ea84533e44adbc08527811f Mon Sep 17 00:00:00 2001 From: heitorlessa Date: Sun, 31 May 2020 17:56:43 +0100 Subject: [PATCH] chore: flake8 mypy linting Signed-off-by: heitorlessa --- cibuildwheel/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cibuildwheel/__main__.py b/cibuildwheel/__main__.py index d4ce5025..77b5aa99 100644 --- a/cibuildwheel/__main__.py +++ b/cibuildwheel/__main__.py @@ -325,11 +325,12 @@ def detect_setup_pyproject_existence(package_dir: str) -> bool: exists = False if os.path.exists(os.path.join(package_dir, 'setup.py')): exists = True - + if os.path.exists(os.path.join(package_dir, 'pyproject.toml')): exists = True return exists + if __name__ == '__main__': main()