From nobody Mon Oct 6 16:03:36 2025 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cgPFt252jz69b3M for ; Mon, 06 Oct 2025 16:03:46 +0000 (UTC) (envelope-from fatty.merchandise677@aceecat.org) Received: from beesty.loosely.org (beesty.loosely.org [IPv6:2600:3c01:e000:4c0::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4cgPFr6fvMz3k4d for ; Mon, 06 Oct 2025 16:03:44 +0000 (UTC) (envelope-from fatty.merchandise677@aceecat.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of fatty.merchandise677@aceecat.org designates 2600:3c01:e000:4c0::2 as permitted sender) smtp.mailfrom=fatty.merchandise677@aceecat.org Received: from [::1] (helo=localhost ident=itz) by beesty.loosely.org with esmtp (Exim 4.98.2-41-8ebb9f17d) (envelope-from ) id 1v5ngX-000000004M7-0cks; Mon, 06 Oct 2025 09:03:37 -0700 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: Mail-Followup-To: questions@freebsd.org, freebsd-questions@freebsd.org References: <7ef0453b-65c8-406d-8238-0a9ee02d074b.ref@ymail.com> <7ef0453b-65c8-406d-8238-0a9ee02d074b@ymail.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7ef0453b-65c8-406d-8238-0a9ee02d074b@ymail.com> X-Spamd-Bar: / X-Spamd-Result: default: False [-0.68 / 15.00]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_HAM_MEDIUM(-0.81)[-0.808]; NEURAL_HAM_SHORT(-0.77)[-0.772]; R_SPF_ALLOW(-0.20)[+mx]; ONCE_RECEIVED(0.20)[]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_NO_DN(0.00)[]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:63949, ipnet:2600:3c01::/32, country:SG]; RCPT_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DMARC_NA(0.00)[aceecat.org]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-Rspamd-Queue-Id: 4cgPFr6fvMz3k4d 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