[Distutils] recommended strategy for missing development tools

Nathaniel Smith njs at pobox.com
Tue Jan 24 06:13:51 EST 2017

On Tue, Jan 24, 2017 at 3:09 AM, Robin Becker <robin at reportlab.com> wrote:
> A reportlab user says his pip install fails to create an importable C
> extension. He said
> "The platform is Mac OS X 10.11.6, aka "El Capitan". Pip didn't complain"
> which is probably true since the extension is not required for reportlab's
> main usage.
> I tried to reproduce on OS X 10.10.5, but my machine has xcode installed and
> the extension was correctly produced.
> I don't have any code in setup.py to prevent compilation; is there a way to
> alert users to the non-build of the extension(s).

I'm having some trouble figuring out exactly what you're asking... is
the question: "if my setup.py encounters a non-fatal error while being
run by pip, how can I print a message for the user to see while still
letting the build continue?"?


Nathaniel J. Smith -- https://vorpus.org

More information about the Distutils-SIG mailing list