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:
791
791
return self ._proc ('meson' , * args )
792
792
793
793
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."""
799
795
sys_paths = mesonpy ._introspection .SYSCONFIG_PATHS
800
796
setup_args = [
801
797
f'--prefix={ sys .base_prefix } ' ,
@@ -820,13 +816,7 @@ def _configure(self, reconfigure: bool = False) -> None:
820
816
if reconfigure :
821
817
setup_args .insert (0 , '--reconfigure' )
822
818
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 )
830
820
831
821
def _validate_metadata (self ) -> None :
832
822
"""Check the pyproject.toml metadata and see if there are any issues."""
You can’t perform that action at this time.
0 commit comments