mirror of
https://github.com/opencv/opencv.git
synced 2024-12-16 02:19:12 +08:00
ce6acd3ecd
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
7 lines
151 B
Python
7 lines
151 B
Python
# flake8: noqa
|
|
import sys
|
|
|
|
if sys.version_info[:2] < (3, 0):
|
|
def exec_file_wrapper(fpath, g_vars, l_vars):
|
|
execfile(fpath, g_vars, l_vars)
|