If you're adventurous we could try to get it built and packaged with SCons.
This extension generates code and then complies a cffi module:
https://bitbucket.org/dholth/pysdl2-cffi/raw/a31bf1d1100bc4573ccadcd574f8fdc5cc841e1c/SConstruct

On Tue, Jun 11, 2019, 16:13 Spencer Baugh <sba...@catern.com> wrote:

>
> 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 -- distutils-sig@python.org
> To unsubscribe send an email to distutils-sig-le...@python.org
> https://mail.python.org/mailman3/lists/distutils-sig.python.org/
> Message archived at
> https://mail.python.org/archives/list/distutils-sig@python.org/message/VB5DIPW3CUQVKBLXSDACRP23FAZWJPLS/
>
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/archives/list/distutils-sig@python.org/message/ISK7YNCNACHXYQJ7XRLQ6D2MQ4YX6ZM5/

Reply via email to