diff --git a/setup.py b/setup.py index 14d18b22a08..dae15791de9 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ def run(self): def build_extension(self, ext): try: build_ext.build_extension(self, ext) - except (CCompilerError, DistutilsExecError, DistutilsPlatformError): + except (CCompilerError, DistutilsExecError, DistutilsPlatformError, ValueError): raise BuildFailed()