File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -791,11 +791,7 @@ def _meson(self, *args: str) -> None:
791791 return self ._proc ('meson' , * args )
792792
793793 def _configure (self , reconfigure : bool = False ) -> None :
794- """Configure Meson project.
795-
796- We will try to reconfigure the build directory if possible to avoid
797- expensive rebuilds.
798- """
794+ """Configure Meson project."""
799795 sys_paths = mesonpy ._introspection .SYSCONFIG_PATHS
800796 setup_args = [
801797 f'--prefix={ sys .base_prefix } ' ,
@@ -820,13 +816,7 @@ def _configure(self, reconfigure: bool = False) -> None:
820816 if reconfigure :
821817 setup_args .insert (0 , '--reconfigure' )
822818
823- try :
824- self ._meson ('setup' , * setup_args )
825- except subprocess .CalledProcessError :
826- if reconfigure : # if failed reconfiguring, try a normal configure
827- self ._configure ()
828- else :
829- raise
819+ self ._meson ('setup' , * setup_args )
830820
831821 def _validate_metadata (self ) -> None :
832822 """Check the pyproject.toml metadata and see if there are any issues."""
You can’t perform that action at this time.
0 commit comments