From bc9ef8e7419d42eccd07055cf9eb9fd946a21654 Mon Sep 17 00:00:00 2001
From: Donald Stufft <donald.stufft@gmail.com>
Date: Sat, 23 Feb 2013 04:21:06 -0500
Subject: [PATCH] Quiet down the output of the invoke tasks

---
 tasks.py | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/tasks.py b/tasks.py
index 047c80e4..f63eba16 100644
--- a/tasks.py
+++ b/tasks.py
@@ -1,6 +1,5 @@
 import hashlib
 import os
-import platform
 import urllib2
 
 from invoke import task, run
@@ -37,9 +36,9 @@ def install_nacl(library):
 
             # Configure and install the library
             os.chdir(os.path.expanduser("~/libsodium-0.2/"))
-            run("./configure --disable-debug --disable-dependency-tracking")
-            run("make")
-            run("sudo make install")
+            run("./configure --disable-debug --disable-dependency-tracking", hide="out")
+            run("make", hide="out")
+            run("sudo make install", hide="out")
         finally:
             os.chdir(curdir)
 
@@ -58,11 +57,11 @@ def install_nacl(library):
             os.chdir(os.path.expanduser("~/"))
 
             # Unpack the tarball
-            run("tar xf nacl-20110221.tar.bz2")
+            run("tar xf nacl-20110221.tar.bz2", hide="out")
 
             # Configure and install the library
             os.chdir(os.path.expanduser("~/nacl-20110221/"))
-            run("sudo ./do")
+            run("sudo ./do", hide="out")
         finally:
             os.chdir(curdir)
 
@@ -79,11 +78,11 @@ def install_nacl(library):
 def install(dev=False):
     if dev:
         # Install once to get the tests extra
-        run("pip install file://$PWD#egg=pynacl[tests]")
+        run("pip install file://$PWD#egg=pynacl[tests]", hide="out")
         # Install again to get an editable install
-        run("pip install -e .")
+        run("pip install -e .", hide="out")
     else:
-        run("pip install .")
+        run("pip install .", hide="out")
 
 
 @task
-- 
GitLab