diff --git a/cibuildwheel/__main__.py b/cibuildwheel/__main__.py index 77b5aa99..9e4e57ae 100644 --- a/cibuildwheel/__main__.py +++ b/cibuildwheel/__main__.py @@ -310,18 +310,6 @@ def detect_warnings(platform: str, build_options: BuildOptions) -> List[str]: def detect_setup_pyproject_existence(package_dir: str) -> bool: - """Detects whether setup.py, or pyproject.toml is at package dir - - Parameters - ---------- - package_dir : str - Package directory path - - Returns - ------- - bool - Whether setup.py, or pyproject.toml exists - """ exists = False if os.path.exists(os.path.join(package_dir, 'setup.py')): exists = True