Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 43cd716

Browse filesBrowse files
authored
Merge pull request opencv#870 from asmorkalov/as/typing_runtime
Added missing typing/__init__.py to package
2 parents 3c972ca + 921bae4 commit 43cd716
Copy full SHA for 43cd716

File tree

1 file changed

+3
-0
lines changed
Filter options

1 file changed

+3
-0
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ def main():
150150
],
151151
}
152152

153+
if sys.version_info >= (3, 6):
154+
rearrange_cmake_output_data["cv2.typing"] = ["python/cv2" + r"/typing/.*\.py"]
155+
153156
# Files in sourcetree outside package dir that should be copied to package.
154157
# Raw paths relative to sourcetree root.
155158
files_outside_package_dir = {"cv2": ["LICENSE.txt", "LICENSE-3RD-PARTY.txt"]}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.