8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b31049d commit 80a5e50Copy full SHA for 80a5e50
setup.py
@@ -110,8 +110,8 @@ def main():
110
if (sys.platform == 'darwin' or sys.platform.startswith('linux')) and not build_headless:
111
cmake_args.append("-DWITH_QT=4")
112
# Apply Qt namespace patches to OpenCV GUI code
113
- subprocess.run("patch -p0 < patches/patch1.patch", shell=True, check=True)
114
- subprocess.run("patch -p0 < patches/patch2.patch", shell=True, check=True)
+ subprocess.check_call("patch -p0 < patches/patch1.patch", shell=True)
+ subprocess.check_call("patch -p0 < patches/patch2.patch", shell=True)
115
116
if build_headless:
117
# it seems that cocoa cannot be disabled so on macOS the package is not truly headless
0 commit comments