Skip to content

Commit ac48881

Browse files
authored
Merge pull request #274 from rockywhisper/setup_fix
replace get_config_var() with get_config_vars() in setup.py.
2 parents 4352c62 + 22c900d commit ac48881

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
@@ -67,7 +67,7 @@ def main():
6767

6868
package_data = {
6969
'cv2':
70-
['*%s' % sysconfig.get_config_var('SO')] +
70+
['*%s' % sysconfig.get_config_vars().get('SO')] +
7171
(['*.dll'] if os.name == 'nt' else []) +
7272
["LICENSE.txt", "LICENSE-3RD-PARTY.txt"],
7373
'cv2.data':

0 commit comments

Comments
 (0)