Skip to content

Commit

Permalink
fix data search path
Browse files Browse the repository at this point in the history
  • Loading branch information
skvark committed Nov 19, 2019
1 parent 9fc0c16 commit 32ce23e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def main():
['python/cv2[^/]*%(ext)s' % {'ext': re.escape(sysconfig.get_config_var('SO'))}],

'cv2.data': [ # OPENCV_OTHER_INSTALL_PATH
('etc' if os.name == 'nt' else 'share/opencv4') +
('etc' if os.name == 'nt' else 'share/OpenCV') +
r'/haarcascades/.*\.xml'
]
}
Expand Down

0 comments on commit 32ce23e

Please sign in to comment.