Skip to content

Commit 799810b

Browse files
committed
Update build_ext_errors in setup.py for modern versions
1 parent ff6be99 commit 799810b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,7 @@ def newrelic_agent_next_version(version):
9090
with readme_file.open() as f:
9191
readme_file_contents = f.read()
9292

93-
if is_windows:
94-
build_ext_errors = (CCompilerError, DistutilsExecError, DistutilsPlatformError, IOError)
95-
else:
96-
build_ext_errors = (CCompilerError, DistutilsExecError, DistutilsPlatformError)
93+
build_ext_errors = (CCompilerError, DistutilsExecError, DistutilsPlatformError, OSError)
9794

9895

9996
class BuildExtFailed(Exception):

0 commit comments

Comments
 (0)