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():
4242
4343 package_name = "opencv-python"
4444
45- if build_contrib and ! build_headless :
45+ if build_contrib and not build_headless :
4646 package_name = "opencv-contrib-python"
4747
4848 if build_contrib and build_headless
4949 package_name = "opencv-contrib-python-headless"
5050
51- if build_headless and ! build_contrib :
51+ if build_headless and not build_contrib :
5252 package_name = "opencv-python-headless"
5353
5454 long_description = io .open ('README_CONTRIB.rst' if build_contrib else 'README.rst' , encoding = "utf-8" ).read ()
@@ -104,7 +104,7 @@ def main():
104104 ] + (["-DOPENCV_EXTRA_MODULES_PATH=" + os .path .abspath ("opencv_contrib/modules" )] if build_contrib else [])
105105
106106 # 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 :
108108 cmake_args .append ("-DWITH_QT=4" )
109109
110110 if build_headless :
You can’t perform that action at this time.
0 commit comments