File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +2
-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 @@ -378,7 +378,7 @@ def _classify_installed_files_override(
378
378
print ("Copying files from CMake output" )
379
379
380
380
# add lines from the old __init__.py file to the config file
381
- with open ('scripts/ __init__.py' , 'r' ) as custom_init :
381
+ with open (os . path . join ( os . path . dirname ( os . path . abspath ( __file__ )), 'scripts' , ' __init__.py') , 'r' ) as custom_init :
382
382
custom_init_data = custom_init .read ()
383
383
with open ('%spython/cv2/config-%s.%s.py'
384
384
% (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