@@ -462,37 +462,6 @@ def options_summary(self) -> str | dict[str, str]:
462462 return {"name" : self .name , "args" : repr (self .args )}
463463
464464
465- class NonPlatformWheelError (Exception ):
466- def __init__ (self ) -> None :
467- message = textwrap .dedent (
468- """
469- cibuildwheel: Build failed because a pure Python wheel was generated.
470-
471- If you intend to build a pure-Python wheel, you don't need cibuildwheel - use
472- `pip wheel -w DEST_DIR .` instead.
473-
474- If you expected a platform wheel, check your project configuration, or run
475- cibuildwheel with CIBW_BUILD_VERBOSITY=1 to view build logs.
476- """
477- )
478-
479- super ().__init__ (message )
480-
481-
482- class AlreadyBuiltWheelError (Exception ):
483- def __init__ (self , wheel_name : str ) -> None :
484- message = textwrap .dedent (
485- f"""
486- cibuildwheel: Build failed because a wheel named { wheel_name } was already generated in the current run.
487-
488- If you expected another wheel to be generated, check your project configuration, or run
489- cibuildwheel with CIBW_BUILD_VERBOSITY=1 to view build logs.
490- """
491- )
492-
493- super ().__init__ (message )
494-
495-
496465def strtobool (val : str ) -> bool :
497466 return val .lower () in {"y" , "yes" , "t" , "true" , "on" , "1" }
498467
0 commit comments