commit | 943006bf68825ea007a1941f8afb09d202868988 | [log] [tgz] |
---|---|---|
author | Éric Araujo <merwok@netwok.org> | Fri Jul 29 02:31:39 2011 +0200 |
committer | Éric Araujo <merwok@netwok.org> | Fri Jul 29 02:31:39 2011 +0200 |
tree | f7d101eead53c8d2b69f10210fdafe798d4fc6d1 | |
parent | 73c175f5a0a7e749357e74f518c89b716b7e34b2 [diff] |
Let all pysetup actions return a meaningful 0 or 1 exit code (#12222). This will help scripts calling pysetup know if a command failed. Printing/logging was also made more consistent, and a few things were cleaned up. In particular, the error/Ctrl-C handling was moved from the _run function up to the main function. The run action is not fixed yet; it returns the dist.Distribution instance, which is needed by test_uninstall and not trivial to fix.