From 2d6f66d64c4919d31535baee677b50e86ca0f71a Mon Sep 17 00:00:00 2001
From: Donald Stufft <donald.stufft@gmail.com>
Date: Sat, 23 Feb 2013 02:17:24 -0500
Subject: [PATCH] Update the invoke install task to properly install everything

---
 tasks.py | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/tasks.py b/tasks.py
index 68ce44a7..ddadc217 100644
--- a/tasks.py
+++ b/tasks.py
@@ -57,12 +57,13 @@ def install_nacl(library):
 
 @task
 def install(dev=False):
-    cmd = "pip install -e file://$PWD#egg=pynacl"
-
     if dev:
-        cmd += "[tests]"
-
-    run(cmd)
+        # Install once to get the tests extra
+        run("pip install file://$PWD#egg=pynacl[tests]")
+        # Install again to get an editable install
+        run("pip install -e .")
+    else:
+        run("pip install .")
 
 
 @task
-- 
GitLab