Skip to content

Commit ec3604a

Browse files
authored
Revert "5.x merge 4.x and submodules update"
1 parent e4f0e45 commit ec3604a

7 files changed

+6
-9
lines changed

.gitmodules

-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
[submodule "opencv"]
22
path = opencv
33
url = https://github.com/opencv/opencv.git
4-
branch = 5.x
54
[submodule "opencv_contrib"]
65
path = opencv_contrib
76
url = https://github.com/opencv/opencv_contrib.git
8-
branch = 5.x
97
[submodule "multibuild"]
108
path = multibuild
119
url = https://github.com/multi-build/multibuild.git
1210
[submodule "opencv_extra"]
1311
path = opencv_extra
1412
url = https://github.com/opencv/opencv_extra.git
15-
branch = 5.x

find_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
else:
6666
# local version identifier, not to be published on PyPI
6767
version = git_hash
68-
opencv_version += ".{}".format(version)
68+
opencv_version += "+{}".format(version)
6969

7070
with open("cv2/version.py", "w") as f:
7171
f.write('opencv_version = "{}"\n'.format(opencv_version))

opencv

Submodule opencv updated 2881 files

opencv_contrib

Submodule opencv_contrib updated 1240 files

opencv_extra

Submodule opencv_extra updated 328 files

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
requires = [
3-
"cmake>=3.13",
3+
"cmake>=3.1",
44
"numpy==1.13.3; python_version=='3.6' and platform_machine != 'aarch64' and platform_machine != 'arm64'",
55
"numpy==1.17.0; python_version=='3.7' and platform_machine != 'aarch64' and platform_machine != 'arm64'",
66
"numpy==1.17.5; python_version=='3.8' and platform_machine != 'aarch64' and platform_machine != 'arm64'",

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def main():
140140
[ r"python/cv2/py.typed" ] if sys.version_info >= (3, 6) else []
141141
,
142142
"cv2.data": [ # OPENCV_OTHER_INSTALL_PATH
143-
("etc" if os.name == "nt" else "share/opencv5") + r"/haarcascades/.*\.xml"
143+
("etc" if os.name == "nt" else "share/opencv4") + r"/haarcascades/.*\.xml"
144144
],
145145
"cv2.gapi": [
146146
"python/cv2" + r"/gapi/.*\.py"

0 commit comments

Comments
 (0)