diff --git a/setup.py b/setup.py index b17c11e6..f6056969 100644 --- a/setup.py +++ b/setup.py @@ -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. # Raw paths relative to sourcetree root. files_outside_package_dir = {"cv2": ["LICENSE.txt", "LICENSE-3RD-PARTY.txt"]}