From da914e6e8f4b9ec4345c06eefda9e4bcfae43ec9 Mon Sep 17 00:00:00 2001 From: Simon Hewitt Date: Mon, 8 Jan 2018 10:53:22 -0800 Subject: [PATCH] exit with an error code if wheel building fails --- mkwheelhouse.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mkwheelhouse.py b/mkwheelhouse.py index e77f92c..53c3e73 100755 --- a/mkwheelhouse.py +++ b/mkwheelhouse.py @@ -160,8 +160,7 @@ def parse_args(): try: run(args, pip_wheel_args) except subprocess.CalledProcessError: - print('mkwheelhouse: detected error in subprocess, aborting!', - file=sys.stderr) + sys.exit('mkwheelhouse: detected error in subprocess, aborting!') def run(args, pip_wheel_args):