Skip to content

Commit 43cd716

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

+3
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)