Skip to content

Commit

Permalink
Revert "5.x merge 4.x and submodules update"
Browse files Browse the repository at this point in the history
  • Loading branch information
asmorkalov authored Dec 3, 2024
1 parent e4f0e45 commit ec3604a
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
[submodule "opencv"]
path = opencv
url = https://github.com/opencv/opencv.git
branch = 5.x
[submodule "opencv_contrib"]
path = opencv_contrib
url = https://github.com/opencv/opencv_contrib.git
branch = 5.x
[submodule "multibuild"]
path = multibuild
url = https://github.com/multi-build/multibuild.git
[submodule "opencv_extra"]
path = opencv_extra
url = https://github.com/opencv/opencv_extra.git
branch = 5.x
2 changes: 1 addition & 1 deletion find_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
else:
# local version identifier, not to be published on PyPI
version = git_hash
opencv_version += ".{}".format(version)
opencv_version += "+{}".format(version)

with open("cv2/version.py", "w") as f:
f.write('opencv_version = "{}"\n'.format(opencv_version))
Expand Down
2 changes: 1 addition & 1 deletion opencv
Submodule opencv updated 2881 files
2 changes: 1 addition & 1 deletion opencv_contrib
Submodule opencv_contrib updated 1240 files
2 changes: 1 addition & 1 deletion opencv_extra
Submodule opencv_extra updated 328 files
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"cmake>=3.13",
"cmake>=3.1",
"numpy==1.13.3; python_version=='3.6' and platform_machine != 'aarch64' and platform_machine != 'arm64'",
"numpy==1.17.0; python_version=='3.7' and platform_machine != 'aarch64' and platform_machine != 'arm64'",
"numpy==1.17.5; python_version=='3.8' and platform_machine != 'aarch64' and platform_machine != 'arm64'",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def main():
[ r"python/cv2/py.typed" ] if sys.version_info >= (3, 6) else []
,
"cv2.data": [ # OPENCV_OTHER_INSTALL_PATH
("etc" if os.name == "nt" else "share/opencv5") + r"/haarcascades/.*\.xml"
("etc" if os.name == "nt" else "share/opencv4") + r"/haarcascades/.*\.xml"
],
"cv2.gapi": [
"python/cv2" + r"/gapi/.*\.py"
Expand Down

0 comments on commit ec3604a

Please sign in to comment.