opencv/modules/python
CSBVision ec32061f5f Update __init__.py to support symbolic links
Currently, the LOADER_DIR is set as os.path.dirname(os.path.abspath(__file__)). This does not point to the true library path if the cv2 folder is symlinked into the Python package directory such that importing cv2 under Python fails. The proposed change only resolves symbolic links correctly by calling os.path.realpath(__file__) first and does not change anything if __file__ contains no symbolic link.
2021-04-14 16:13:45 +00:00
..
bindings cmake: fix files order in Python bindings 2021-04-01 09:48:50 +00:00
package Update __init__.py to support symbolic links 2021-04-14 16:13:45 +00:00
python2 python: support standalone Python bindings build 2018-06-07 15:16:39 +03:00
python3 Limited API support for Python3 2019-06-11 15:15:49 +03:00
src2 Merge pull request #19814 from alalek:pyopencv_to_safe 2021-03-31 22:58:18 +00:00
test python: also catch general c++ exceptions 2021-02-02 21:16:01 +01:00
CMakeLists.txt cmake: fix missing project() warning in Python standalone builds 2020-03-12 14:29:31 +03:00
common.cmake cmake(python): handle PYTHON3_LIMITED_API 2020-03-18 23:10:06 +00:00
python_loader.cmake fixes #16500 2020-02-20 11:10:12 +08:00
standalone.cmake python: update CMake install rules 2019-03-15 13:11:00 +03:00