Skip to content

Commit

Permalink
Merge 75e52bc into c79eb03
Browse files Browse the repository at this point in the history
  • Loading branch information
acksmaggart committed Apr 25, 2019
2 parents c79eb03 + 75e52bc commit f97cea1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -36,7 +36,7 @@ class custom_build_ext(build_ext):
def run(self):
try:
build_ext.run(self)
except (CCompilerError, DistutilsExecError, DistutilsPlatformError):
except (CCompilerError, DistutilsExecError, DistutilsPlatformError, FileNotFoundError):
e = sys.exc_info()[1]
sys.stdout.write('%s\n' % str(e))
warnings.warn(self.warning_message % ("Extension modules",
Expand All @@ -48,7 +48,7 @@ def build_extension(self, ext):
name = ext.name
try:
build_ext.build_extension(self, ext)
except (CCompilerError, DistutilsExecError, DistutilsPlatformError):
except (CCompilerError, DistutilsExecError, DistutilsPlatformError, FileNotFoundError):
e = sys.exc_info()[1]
sys.stdout.write('%s\n' % str(e))
warnings.warn(self.warning_message % ("The %s extension "
Expand Down

0 comments on commit f97cea1

Please sign in to comment.