Issue 459705: always return 0 command status (original) (raw)

Context: Python 2.1.1

Description:

Python's setup.py build script always return 0 status, without regard to failures. Looking more closely at the problem, it seems that the function distutils.core.setup() has no means of effectively returning to the caller its execution status, and no exception is raised when an extension fails to build.

This prevents integration of setup.py programs in scripts (ksh...) or Makefiles which rely on testing the command exit status...