On 10/03/2021 18:42, Marco Sulla wrote:
On Wed, 10 Mar 2021 at 16:45, Thomas Jollans <t...@tjol.eu> wrote:
Why are you doing this?

If all you want is for it to be possible to install the package from
source on a system that can't use the C part, you could just declare
your extension modules optional
Because I want to provide (at least) two wheels: a wheel for linux
users with the C extension compiled and a generic wheel in pure python
as a fallback for any other architecture.

What's wrong with sdist as a fallback rather than a wheel?

That has the added benefit of people on other architectures have the opportunity to use the extension module if they have a compiler and the necessary libraries and headers installed...



If I make the extension optional, as far as I know, only one wheel is
produced: the wheel with the extension if all is successful, or the
pure py wheel.


--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to