Skip to content

Commit 0ea990e

Browse files
committed
FileNotFoundError not defined in python2
1 parent b734d99 commit 0ea990e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def run(self):
111111
shutil.copyfile(src, dst)
112112
except (
113113
distutils.errors.DistutilsPlatformError,
114-
FileNotFoundError
114+
globals()['__builtins__'].get('FileNotFoundError', OSError)
115115
):
116116
raise BuildFailed()
117117

0 commit comments

Comments
 (0)