]> granicus.if.org Git - python/commitdiff
Catch CCompiler exceptions in 'setup()'.
authorGreg Ward <gward@python.net>
Tue, 30 May 2000 02:04:29 +0000 (02:04 +0000)
committerGreg Ward <gward@python.net>
Tue, 30 May 2000 02:04:29 +0000 (02:04 +0000)
Lib/distutils/core.py

index cd0f8e9694aea3cb12948df85a07e18f928b3c28..15a88147124afb514c7af67cdf07ed95c21da301 100644 (file)
@@ -122,7 +122,8 @@ def setup (**attrs):
             
         except (DistutilsExecError,
                 DistutilsFileError,
-                DistutilsOptionError), msg:
+                DistutilsOptionError,
+                CCompilerError), msg:
             if DEBUG:
                 raise
             else: