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
Alexander Alekhin
a123c48d4d
pre: OpenCV 3.4.14 (version++)
2021-03-02 20:47:29 +00:00
Alexander Alekhin
b51ae87828
samples: check for Python 3.9
2020-12-21 14:59:34 +00:00
Alexander Alekhin
36d771affc
python: restore sys.path in bootstrap()
...
- multiprocessing need to start from bootstrap code
- loading may fail due to missing os.add_dll_directory() calls
2020-11-26 13:10:25 +00:00
Alexander Alekhin
9485113923
pre: OpenCV 3.4.13 (version++)
2020-11-17 21:50:30 +00:00
Alexander Alekhin
50ff40d684
pre: OpenCV 3.4.12 (version++)
2020-09-06 22:26:32 +00:00
Alexander Alekhin
a43e3bebe6
pre: OpenCV 3.4.11 (version++)
2020-06-08 18:46:27 +00:00
Alexander Alekhin
b7ecaceda8
pre: OpenCV 3.4.10 (version++)
...
- Android Manager version is not increased (stuck on 3.49)
2020-03-10 14:53:43 +03:00
cyy
450b96510e
fixes #16500
2020-02-20 11:10:12 +08:00
Alexander Alekhin
15612ebd39
python: enable Python 3.8
2019-12-11 16:52:38 +03:00
Alexander Alekhin
4ec4ec844f
python: fix issue with bindings loading on Python 3.8
2019-12-10 19:00:10 +00:00
Alexander Alekhin
76a27e3399
pre: OpenCV 3.4.9 (version++)
2019-12-05 18:28:38 +00:00
gal0is
bb7dc5f992
Solve the import issue in Python2.
2019-06-16 06:10:00 +08:00
Pavel Rojtberg
f0ef4b2246
python: sys.path[0] is reserved for the main script
2019-02-08 17:24:31 +01:00
Alexander Alekhin
ce6acd3ecd
python: bindings loader package
...
Configures and loads OpenCV bindings extension including 3rdparty dependencies
Based on running Python specify:
- configure PYTHON_PATH (via "sys.path")
- configure LD_LIBRARY_PATH / PATH
2018-11-16 00:51:16 +00:00