Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 11cb9fc

Browse files
committedJul 4, 2024·
Support python 3.12
Currently, opencv-python fails to build under python 3.12. This patch fixes that problem by permitting the use of any setuptools>=59.2.0, rather than mandating that specific version. This patch fixes #988. See discussion there for details. I have tested by successfully installing opencv-python.
1 parent cce7c99 commit 11cb9fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ requires = [
99
"numpy>=2.0.0; python_version>='3.9'",
1010
"pip",
1111
"scikit-build>=0.14.0",
12-
"setuptools==59.2.0",
12+
"setuptools>=59.2.0",
1313
]

0 commit comments

Comments
 (0)
Please sign in to comment.