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 29f0466

Browse filesBrowse files
committed
simplify regex
1 parent 441e52c commit 29f0466
Copy full SHA for 29f0466

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def main():
8080
# In Windows, in python/X.Y/<arch>/; in Linux, in just python/X.Y/.
8181
# Naming conventions vary so widely between versions and OSes
8282
# had to give up on checking them.
83-
['python/([^/]+/){1,2}cv2[^/]*%(ext)s' % {'ext': re.escape(sysconfig.get_config_var('SO'))}],
83+
['python/cv2[^/]*%(ext)s' % {'ext': re.escape(sysconfig.get_config_var('SO'))}],
8484

8585
'cv2.data': [ # OPENCV_OTHER_INSTALL_PATH
8686
('etc' if os.name == 'nt' else 'share/OpenCV') +

0 commit comments

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