print SystemExit exception messages instead of using the current build failure text
Signed-off-by: Justin Ramos <justin.ramos@gmail.com>
This commit is contained in:
parent
46c9ea9403
commit
e97df3ad4d
4
setup.py
4
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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user