Skip to content

Commit 32ce23e

Browse files
committed
fix data search path
1 parent 9fc0c16 commit 32ce23e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def main():
8585
['python/cv2[^/]*%(ext)s' % {'ext': re.escape(sysconfig.get_config_var('SO'))}],
8686

8787
'cv2.data': [ # OPENCV_OTHER_INSTALL_PATH
88-
('etc' if os.name == 'nt' else 'share/opencv4') +
88+
('etc' if os.name == 'nt' else 'share/OpenCV') +
8989
r'/haarcascades/.*\.xml'
9090
]
9191
}

0 commit comments

Comments
 (0)