• Michael Pratt's avatar
    Build both Python 2 and Python 3 bindings · cac1218e
    Michael Pratt authored
    If both Python 2 and Python 3 are found, then build bindings for both of
    them during the build process.  Currently, one version of Python is
    detected automatically, and building for the other requires changes the
    CMake config.
    
    The largest chunk of this change generalizes OpenCVDetectPython.cmake to
    find both a Python 2 and Python 3 version of Python.  Secondly, the
    opencv_python module is split into two modules, opencv_python2 and
    opencv_python3.  Both are built from the same source. but for different
    versions of Python.
    cac1218e
Name
Last commit
Last update
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.tgitconfig Loading commit data...
CMakeLists.txt Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
index.rst Loading commit data...