Skip to content

Commit 9914d1e

Browse files
committed
Fixed project naming to generate proper sdist archive names.
1 parent 4ddfc01 commit 9914d1e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,16 @@ def main():
7373
# https://stackoverflow.com/questions/1405913/python-32bit-or-64bit-mode
7474
is64 = sys.maxsize > 2 ** 32
7575

76-
package_name = "opencv-python"
76+
package_name = "opencv_python"
7777

7878
if build_contrib and not build_headless:
79-
package_name = "opencv-contrib-python"
79+
package_name = "opencv_contrib_python"
8080

8181
if build_contrib and build_headless:
82-
package_name = "opencv-contrib-python-headless"
82+
package_name = "opencv_contrib_python_headless"
8383

8484
if build_headless and not build_contrib:
85-
package_name = "opencv-python-headless"
85+
package_name = "opencv_python_headless"
8686

8787
if build_rolling:
8888
package_name += "-rolling"

0 commit comments

Comments
 (0)