Skip to content
Snippets Groups Projects
Commit bc9ef8e7 authored by Donald Stufft's avatar Donald Stufft
Browse files

Quiet down the output of the invoke tasks

parent e59effe1
No related branches found
No related tags found
No related merge requests found
import hashlib import hashlib
import os import os
import platform
import urllib2 import urllib2
from invoke import task, run from invoke import task, run
...@@ -37,9 +36,9 @@ def install_nacl(library): ...@@ -37,9 +36,9 @@ def install_nacl(library):
# Configure and install the library # Configure and install the library
os.chdir(os.path.expanduser("~/libsodium-0.2/")) os.chdir(os.path.expanduser("~/libsodium-0.2/"))
run("./configure --disable-debug --disable-dependency-tracking") run("./configure --disable-debug --disable-dependency-tracking", hide="out")
run("make") run("make", hide="out")
run("sudo make install") run("sudo make install", hide="out")
finally: finally:
os.chdir(curdir) os.chdir(curdir)
...@@ -58,11 +57,11 @@ def install_nacl(library): ...@@ -58,11 +57,11 @@ def install_nacl(library):
os.chdir(os.path.expanduser("~/")) os.chdir(os.path.expanduser("~/"))
# Unpack the tarball # Unpack the tarball
run("tar xf nacl-20110221.tar.bz2") run("tar xf nacl-20110221.tar.bz2", hide="out")
# Configure and install the library # Configure and install the library
os.chdir(os.path.expanduser("~/nacl-20110221/")) os.chdir(os.path.expanduser("~/nacl-20110221/"))
run("sudo ./do") run("sudo ./do", hide="out")
finally: finally:
os.chdir(curdir) os.chdir(curdir)
...@@ -79,11 +78,11 @@ def install_nacl(library): ...@@ -79,11 +78,11 @@ def install_nacl(library):
def install(dev=False): def install(dev=False):
if dev: if dev:
# Install once to get the tests extra # 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 # Install again to get an editable install
run("pip install -e .") run("pip install -e .", hide="out")
else: else:
run("pip install .") run("pip install .", hide="out")
@task @task
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment