Skip to content

Commit

Permalink
Merge pull request #870 from asmorkalov/as/typing_runtime
Browse files Browse the repository at this point in the history
Added missing typing/__init__.py to package
  • Loading branch information
asmorkalov committed Jul 11, 2023
2 parents 3c972ca + 921bae4 commit 43cd716
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]}
Expand Down

0 comments on commit 43cd716

Please sign in to comment.