cython code release best practices supporting packaging

From: Matthew Luckie <mjl_at_luckie.org.nz>
Date: Fri, 05 Jan 2024 08:03:01 UTC
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