From 7e490d9b3ae75bea53d600cff6cef9f9dec08003 Mon Sep 17 00:00:00 2001 From: "Dwayne C. Litzenberger" Date: Mon, 10 Oct 2011 15:33:59 -0400 Subject: setup.py: configure be quiet when --quiet is specified --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 0021980..91478cb 100644 --- a/setup.py +++ b/setup.py @@ -268,7 +268,11 @@ class PCTBuildConfigure(Command): if not os.path.exists("config.status"): if os.system("chmod 0755 configure") != 0: raise RuntimeError("chmod error") - if os.system("./configure") != 0: + if self.verbose < 1: + cmd = "./configure -q" + else: + cmd = "./configure" + if os.system(cmd) != 0: raise RuntimeError("autoconf error") class PCTBuildPy(build_py): -- cgit v1.2.1