Skip to content

Commit

Permalink
find_version: use + for git_hash to conform to PEP 440
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky committed Apr 26, 2023
1 parent 2a76f21 commit 76e62b2
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 76e62b2

Please sign in to comment.