mirror of
https://github.com/opencv/opencv.git
synced 2026-09-13 13:55:39 -05:00
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
This commit is contained in:
3
modules/python/package/template/config-x.y.py.in
Normal file
3
modules/python/package/template/config-x.y.py.in
Normal file
@@ -0,0 +1,3 @@
|
||||
PYTHON_EXTENSIONS_PATHS = [
|
||||
@CMAKE_PYTHON_EXTENSION_PATH@
|
||||
] + PYTHON_EXTENSIONS_PATHS
|
||||
3
modules/python/package/template/config.py.in
Normal file
3
modules/python/package/template/config.py.in
Normal file
@@ -0,0 +1,3 @@
|
||||
BINARIES_PATHS = [
|
||||
@CMAKE_PYTHON_BINARIES_PATH@
|
||||
] + BINARIES_PATHS
|
||||
Reference in New Issue
Block a user