Ticket #4720 defect closed duplicate

Opened 3 years ago

Last modified 3 years ago

setup.py aborts build if cannot compile a C extension module

Reported by: ivank Owned by:
Priority: highest Milestone:
Component: core Keywords:
Cc: Branch:
Author: Launchpad Bug:


Twisted's setup.py should keep going if it can't build any C extension module. It should print some kind of warning, of course, like zope.interface's setup.py does.

There is a problem with exit codes, though: someone may want the build to stop if a module they need fails to build. I (hastily) propose some kind of --needcexts=x,y,z option, and if any of those modules fail to build, exit with a non-0 code.

Change History


Changed 3 years ago by glyph

I don't know if this is quite a duplicate, but see #3586.


Changed 3 years ago by davidsarah

  • status changed from new to closed
  • resolution set to duplicate

I think it's a duplicate.


Changed 3 years ago by <automation>

  • owner glyph deleted
Note: See TracTickets for help on using tickets.