Date: Mon, 6 Oct 2025 09:03:36 -0700 From: fatty.merchandise677@aceecat.org To: questions@freebsd.org, freebsd-questions@freebsd.org Subject: Re: OpenCV Python package Message-ID: <G3RDydB3oJlaemWf@aceecat.org> In-Reply-To: <7ef0453b-65c8-406d-8238-0a9ee02d074b@ymail.com> References: <7ef0453b-65c8-406d-8238-0a9ee02d074b.ref@ymail.com> <7ef0453b-65c8-406d-8238-0a9ee02d074b@ymail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?G3RDydB3oJlaemWf>