未验证 提交 67e0ed93 编写于 作者: A Alexander Smorkalov 提交者: GitHub

Merge pull request #23695 from triple-Mu:triplemu/fix-python-binding

Update setup.py
......@@ -25,6 +25,7 @@ def main():
root_module_path = os.path.join(SCRIPT_DIR, "cv2")
py_typed_path = os.path.join(root_module_path, "py.typed")
typing_stub_files = []
if os.path.isfile(py_typed_path):
typing_stub_files = collect_module_typing_stub_files(root_module_path)
if len(typing_stub_files) > 0:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册