[Python-bugs-list] [ python-Bugs-459705 ] always return 0 command status
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 06 Dec 2001 13:40:34 -0800
Bugs item #459705, was opened at 2001-09-07 18:29
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=459705&group_id=5470
Category: Distutils
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Frederic Giacometti (giacometti)
>Assigned to: Nobody/Anonymous (nobody)
Summary: always return 0 command status
Initial Comment:
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...
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=459705&group_id=5470