From e97df3ad4de58adffada3804866f8ede9ab8ef10 Mon Sep 17 00:00:00 2001 From: Justin Ramos Date: Wed, 22 Mar 2017 20:47:48 +0000 Subject: [PATCH] print SystemExit exception messages instead of using the current build failure text Signed-off-by: Justin Ramos --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5ea5a624..404c10fb 100644 --- a/setup.py +++ b/setup.py @@ -256,7 +256,9 @@ if __name__ == "__main__": }, scripts=['src/pybitmessage'] ) - except SystemExit: + except SystemExit as err: + print err.message + except: print "It looks like building the package failed.\n" \ "You may be missing a C++ compiler and the OpenSSL headers." compilerToPackages()