Shipping a Python C extension + a library it uses as source

Spencer Baugh <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <[email protected]>
Hi distutils-sig,

I've developed a small C library and a much larger Python native
extension that uses that library. The native extension has no
dependencies other than that small C library.

While the library is useful on its own, I'm thinking it would be good to
include the library's source directly with my native extension's source
when I upload to PyPI, so that it can be easily built for arbitrary
platforms without me having to create wheels for them.

Is this a known approach? Have people done this before?

For reference, the C library, which currently builds with autotools, is
here:
https://github.com/catern/rsyscall/tree/master/c
And the Python library and native extension, which currently builds with
setuptools and uses cffi, is here:
https://github.com/catern/rsyscall/tree/master/python

Thanks for any guidance!
--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/archives/list/[email protected]/message/VB5DIPW3CUQVKBLXSDACRP23FAZWJPLS/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.