Re: OpenCV Python package

From: <fatty.merchandise677_at_aceecat.org>
Date: Mon, 06 Oct 2025 16:03:36 UTC
On Mon, Oct 06, 2025 at 02:30:22PM +0100, Andrew Wood wrote:

> Is there a pkg for adding the OpenCV API to Python? I cannot find
> one, although I can find references to an old one on a 3rd party
> website.

> I maintain a small opensource project for which I make packages
> available for both Linux and FreeBSD and the next version is going
> to require OpenCV functionality via Python.

> To make it easy for the end user I would ideally like to declare a
> dependency on the appropriate package rather than have them use pip
> but it looks like that is not possible?

Is your project written primarily in Python? If yes, I think the right
way is to follow the Python build / package conventions (such as they
are, sigh).  Meaning setup.py, pyproject.toml, et cetera.

Then either you or someone else can take that and make OS packages
with that.

-- 
Ian