File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,13 @@ def main():
42
42
43
43
package_name = "opencv-python"
44
44
45
- if build_contrib and ! build_headless :
45
+ if build_contrib and not build_headless :
46
46
package_name = "opencv-contrib-python"
47
47
48
48
if build_contrib and build_headless
49
49
package_name = "opencv-contrib-python-headless"
50
50
51
- if build_headless and ! build_contrib :
51
+ if build_headless and not build_contrib :
52
52
package_name = "opencv-python-headless"
53
53
54
54
long_description = io .open ('README_CONTRIB.rst' if build_contrib else 'README.rst' , encoding = "utf-8" ).read ()
@@ -104,7 +104,7 @@ def main():
104
104
] + (["-DOPENCV_EXTRA_MODULES_PATH=" + os .path .abspath ("opencv_contrib/modules" )] if build_contrib else [])
105
105
106
106
# OS-specific components
107
- if (sys .platform == 'darwin' or sys .platform .startswith ('linux' )) and ! build_headless :
107
+ if (sys .platform == 'darwin' or sys .platform .startswith ('linux' )) and not build_headless :
108
108
cmake_args .append ("-DWITH_QT=4" )
109
109
110
110
if build_headless :
You can’t perform that action at this time.
0 commit comments