Skip to content

Possible to generate Python wheel? #22

@Dapid

Description

@Dapid

I have successfully installed OpenCV, including the Python bindings.

print(cv2.getBuildInformation())

General configuration for OpenCV 4.9.0 =====================================
  Version control:               unknown

  Extra modules:
    Location (extra):            /home/ica/opencv_contrib/modules
    Version control (extra):     unknown

  Platform:
    Timestamp:                   2024-03-22T14:59:28Z
    Host:                        Linux 5.10.192-tegra aarch64
[...]

The problem is that when I install a package that depends on opencv, it will not see this and pull the python-opencv wheel, which has fewer capabilities.

There is another repo that builds the wheels, would it be possible to integrate that into this script? Or adjust it to generate the right output? If not, we could export the CMake options in this repo into the wheel building script.

The uglier alternative is to create a dummy wheel that serves as a placeholder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions