From 76e62b2926fdfc1c213770c07d5f50ad9cdf6414 Mon Sep 17 00:00:00 2001 From: Robert Sachunsky Date: Wed, 26 Apr 2023 17:32:53 +0200 Subject: [PATCH] find_version: use + for git_hash to conform to PEP 440 --- find_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find_version.py b/find_version.py index 274c93e6..13e8003c 100644 --- a/find_version.py +++ b/find_version.py @@ -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))