...
 
Commits (2)
    https://gitcode.net/opencv/opencv-python/-/commit/921bae43ba3fcbc8ae86fada2eb3550df69cda5b Added missing typing/__init__.py to package. 2023-07-05T10:43:15+03:00 Alexander Smorkalov alexander.smorkalov@xperience.ai https://gitcode.net/opencv/opencv-python/-/commit/43cd7169cb92d96898d59753796678495b95c833 Merge pull request #870 from asmorkalov/as/typing_runtime 2023-07-11T21:27:11+03:00 Alexander Smorkalov 2536374+asmorkalov@users.noreply.github.com 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"]}
......