mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
Drop Python2 support.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
"""
|
||||
Common utilities. These should be compatible with Python 2 and 3.
|
||||
Common utilities. These should be compatible with Python3.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
@@ -137,7 +137,6 @@ class Builder:
|
||||
"-DBUILD_opencv_stitching=OFF",
|
||||
"-DBUILD_opencv_java=OFF",
|
||||
"-DBUILD_opencv_js=ON",
|
||||
"-DBUILD_opencv_python2=OFF",
|
||||
"-DBUILD_opencv_python3=OFF",
|
||||
"-DBUILD_EXAMPLES=ON",
|
||||
"-DBUILD_PACKAGE=OFF",
|
||||
|
||||
@@ -38,7 +38,6 @@ For headless WEC2013, this configuration may not be limited to but is known to w
|
||||
-DBUILD_opencv_videostab=OFF `
|
||||
-DBUILD_opencv_dnn=OFF `
|
||||
-DBUILD_opencv_java=OFF `
|
||||
-DBUILD_opencv_python2=OFF `
|
||||
-DBUILD_opencv_python3=OFF `
|
||||
-DBUILD_opencv_java_bindings_generator=OFF `
|
||||
-DBUILD_opencv_python_bindings_generator=OFF `
|
||||
|
||||
@@ -379,7 +379,6 @@ class Builder:
|
||||
|
||||
OPENCV_INSTALL_DATA_DIR_RELATIVE='../../src/opencv',
|
||||
|
||||
BUILD_opencv_python2='OFF',
|
||||
BUILD_opencv_python3='ON',
|
||||
PYTHON3_LIMITED_API='ON',
|
||||
OPENCV_PYTHON_INSTALL_PATH='python',
|
||||
|
||||
Reference in New Issue
Block a user