opencv/modules/python/package
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
..
cv2 Update __init__.py to support symbolic links 2021-04-14 16:13:45 +00:00
template fixes #16500 2020-02-20 11:10:12 +08:00
.gitignore python: bindings loader package 2018-11-16 00:51:16 +00:00
setup.py pre: OpenCV 3.4.14 (version++) 2021-03-02 20:47:29 +00:00