未验证 提交 43cd7169 编写于 作者: A Alexander Smorkalov 提交者: GitHub

Merge pull request #870 from asmorkalov/as/typing_runtime

Added missing typing/__init__.py to package
...@@ -150,6 +150,9 @@ def main(): ...@@ -150,6 +150,9 @@ def main():
], ],
} }
if sys.version_info >= (3, 6):
rearrange_cmake_output_data["cv2.typing"] = ["python/cv2" + r"/typing/.*\.py"]
# Files in sourcetree outside package dir that should be copied to package. # Files in sourcetree outside package dir that should be copied to package.
# Raw paths relative to sourcetree root. # Raw paths relative to sourcetree root.
files_outside_package_dir = {"cv2": ["LICENSE.txt", "LICENSE-3RD-PARTY.txt"]} files_outside_package_dir = {"cv2": ["LICENSE.txt", "LICENSE-3RD-PARTY.txt"]}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册