From nobody Fri Jan 05 08:03:01 2024 X-Original-To: freebsd-python@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 4T5wtj5bcYz56SXF for ; Fri, 5 Jan 2024 08:03:09 +0000 (UTC) (envelope-from mjl@luckie.org.nz) Received: from out2101.sparkbusinessmail.co.nz (out2101.sparkbusinessmail.co.nz [122.56.84.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4T5wth4Rpbz43ZV for ; Fri, 5 Jan 2024 08:03:08 +0000 (UTC) (envelope-from mjl@luckie.org.nz) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sparkbusinessmail.co.nz header.s=alpha header.b="kBIH/fnB"; dmarc=none; spf=none (mx1.freebsd.org: domain of mjl@luckie.org.nz has no SPF policy when checking 122.56.84.48) smtp.mailfrom=mjl@luckie.org.nz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sparkbusinessmail.co.nz; s=alpha; t=1704441783; bh=1EMTxhOQKgtN+fLZY6RPAmHjYOOif1l3aLPgSrXBAwU=; h=Date:From:To:Subject:Message-ID; b=kBIH/fnBw8Q9Q+VKxZdGuV8qE/IqLeuV01RZdrVXCnQvFUtZtnnv2d2i3GPP7cC2c pACtA7wdrIanMe+3gMmGvFw4es0o9GRBqe++ct6joYDN/KPjoTjIqIkxt3lCWtuEwT 63Apm7dD1P1j2E/FQrGKO0DaDFA9wrQb5PBhH7e0= SMX-Results: classifications=clean SMX-S1C: gggruggvucftvghtrhhoucdtuddrgedvkedrvdegkedguddugecutefuodetggdotefrodftvfcurf hrohhfihhlvgemucfuofgiuehushhinhgvshhsnecuuegrihhlohhuthemuceftddtnecunecujfgu rhepfffhvffukfggtggufgesthdttddttdervdenucfhrhhomhepofgrthhthhgvficunfhutghkih gvuceomhhjlheslhhutghkihgvrdhorhhgrdhniieqnecuggftrfgrthhtvghrnheptdeutedutdej ffdtvdethfehteffgefhteevtdeiffehfefgtefghfdviefhhedtnecukfhppeduudekrdelvddrfe eirdejudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduudekrdelvddr feeirdejuddpmhgrihhlfhhrohhmpehmjhhlsehluhgtkhhivgdrohhrghdrnhiipdhnsggprhgtph htthhopedupdhrtghpthhtohepfhhrvggvsghsugdqphihthhhohhnsehfrhgvvggsshgurdhorhhg pdhmohguvgepshhmthhpohhuthdpshhpfhepnhgvuhhtrhgrlhdphhgvlhhopehsphgrnhguvgigrd hluhgtkhhivgdrohhrghdrnhiipdfovfetjfhoshhtpehmthgrvddutdefpdetuhhthhgpuhhsvghr pehmjhhlsehluhgtkhhivgdrohhrghdrnhiipdhrvghvkffrpeduudekqdelvddqfeeiqdejuddrug hslhdrugihnhdrihhhuhhgrdgtohdrnhii SMX-S1V: clean SMX-S1S: 0 Received: from spandex.luckie.org.nz ([118.92.36.71]) by smtp.sparkbusinessmail.co.nz with ESMTP (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) id 6597B7B6-1C3230C8@mta2103.omr; Fri, 05 Jan 2024 08:03:03 +0000 Received: from pi4.luckie.org.nz ([192.168.3.27]) by spandex.luckie.org.nz with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1 (FreeBSD)) (envelope-from ) id 1rLfAT-00000000DL4-2uXi for freebsd-python@freebsd.org; Fri, 05 Jan 2024 21:03:01 +1300 Received: by pi4.luckie.org.nz (Postfix, from userid 1002) id 872571C4365; Fri, 5 Jan 2024 08:03:01 +0000 (UTC) Date: Fri, 5 Jan 2024 21:03:01 +1300 From: Matthew Luckie To: freebsd-python@freebsd.org Subject: cython code release best practices supporting packaging Message-ID: List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/2.2.12 (2023-09-09) X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.40 / 15.00]; DWL_DNSWL_LOW(-1.00)[sparkbusinessmail.co.nz:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[sparkbusinessmail.co.nz:s=alpha]; RCVD_IN_DNSWL_LOW(-0.10)[122.56.84.48:from]; MIME_GOOD(-0.10)[text/plain]; R_SPF_NA(0.00)[no SPF record]; ASN(0.00)[asn:4648, ipnet:122.56.84.0/24, country:NZ]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[luckie.org.nz]; MLMMJ_DEST(0.00)[freebsd-python@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[sparkbusinessmail.co.nz:+] X-Rspamd-Queue-Id: 4T5wth4Rpbz43ZV Hi, I have written a python interface to a C library that I maintain, using cython, and am looking for advice on how to structure the code release so that packaging is as straightforward as possible. My inclination is to include the python interface with the source code of the C library, as the python interface is tightly coupled with the library. I've done some preliminary investigation, and have found libimobiledevice in ports -- devel/py-libplist, comms/py-libimobiledevice, etc. I am wondering if there is other software in ports heavily tied to a C library with cython that freebsd python maintainers recommend as supporting best practices for packaging, that I should carefully study. The C library uses autotools (autoconf, automake, libtool). Thanks, Matthew