mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Drop Python2 support.
This commit is contained in:
@@ -573,7 +573,6 @@ Following options can be used to change installation layout for common scenarios
|
||||
| `ENABLE_FLAKE8` | _ON_ (when docs or examples are enabled) | Enable python scripts check with [Flake8](https://flake8.pycqa.org/) (_check_flake8_ target). Flake8 must be installed. |
|
||||
| `BUILD_JAVA` | _ON_ | Enable Java wrappers build. Java SDK and Ant must be installed. |
|
||||
| `BUILD_FAT_JAVA_LIB` | _ON_ (for static Android builds) | Build single _opencv_java_ dynamic library containing all library functionality bundled with Java bindings. |
|
||||
| `BUILD_opencv_python2` | _ON_ | Build python2 bindings (deprecated). Python with development files and numpy must be installed. |
|
||||
| `BUILD_opencv_python3` | _ON_ | Build python3 bindings. Python with development files and numpy must be installed. |
|
||||
|
||||
TODO: need separate tutorials covering bindings builds
|
||||
|
||||
@@ -109,8 +109,6 @@ Building OpenCV from Source Using CMake
|
||||
- `PYTHON3_INCLUDE_DIR = /usr/include/python<version>`
|
||||
- `PYTHON3_NUMPY_INCLUDE_DIRS =
|
||||
/usr/lib/python<version>/dist-packages/numpy/core/include/`
|
||||
@note
|
||||
To specify Python2 versions, you can replace `PYTHON3_` with `PYTHON2_` in the above parameters.
|
||||
|
||||
-# Build. From build directory execute *make*, it is recommended to do this in several threads
|
||||
|
||||
|
||||
Reference in New Issue
Block a user