'How do I distribute conditionally-compiled extras in pypi?

Say I have a package A that has an optional extra [B]. The extra requires a different compilation step (and adds a significant size to the package).

Is there a way to publish both wheels (with and without [B]) to pypi?

If not, is there a way to address this need in pypi?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source