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 71bad8c

Browse filesBrowse files
committed
Fixed a build from the source
1 parent 6dfaa9d commit 71bad8c
Copy full SHA for 71bad8c

File tree

Expand file treeCollapse file tree

2 files changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-1
lines changed

‎MANIFEST.in

Copy file name to clipboardExpand all lines: MANIFEST.in
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ recursive-include docker *
99
recursive-include opencv *
1010
recursive-include opencv_contrib *
1111
recursive-include patches *
12+
recursive-include scripts *.py

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,8 @@ def _classify_installed_files_override(
366366
print("Copying files from CMake output")
367367

368368
# 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:
370371
custom_init_data = custom_init.read()
371372
with open('%spython/cv2/config-%s.%s.py'
372373
% (cmake_install_dir, sys.version_info[0], sys.version_info[1]), 'w') as opencv_init_config:

0 commit comments

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