File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Original file line number Diff line number Diff line change @@ -9,3 +9,4 @@ recursive-include docker *
9
9
recursive-include opencv *
10
10
recursive-include opencv_contrib *
11
11
recursive-include patches *
12
+ recursive-include scripts *.py
Original file line number Diff line number Diff line change @@ -366,7 +366,8 @@ def _classify_installed_files_override(
366
366
print ("Copying files from CMake output" )
367
367
368
368
# add lines from the old __init__.py file to the config file
369
- with open ('scripts/__init__.py' , 'r' ) as custom_init :
369
+ with open ('%s/scripts/__init__.py'
370
+ % os .path .split (os .path .abspath (__file__ ))[0 ], 'r' ) as custom_init :
370
371
custom_init_data = custom_init .read ()
371
372
with open ('%spython/cv2/config-%s.%s.py'
372
373
% (cmake_install_dir , sys .version_info [0 ], sys .version_info [1 ]), 'w' ) as opencv_init_config :
You can’t perform that action at this time.
0 commit comments