提交 32ce23ec 编写于 作者: O Olli-Pekka Heinisuo

fix data search path

上级 9fc0c169
......@@ -85,7 +85,7 @@ def main():
['python/cv2[^/]*%(ext)s' % {'ext': re.escape(sysconfig.get_config_var('SO'))}],
'cv2.data': [ # OPENCV_OTHER_INSTALL_PATH
('etc' if os.name == 'nt' else 'share/opencv4') +
('etc' if os.name == 'nt' else 'share/OpenCV') +
r'/haarcascades/.*\.xml'
]
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册