From f27a84e0155c7752630aae6c93e230d2a24a880a Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.org>
Date: Thu, 16 Mar 2017 00:02:33 -0400
Subject: [PATCH] change the step order

---
 bin/compile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/compile b/bin/compile
index 1692b935..10d5ebda 100755
--- a/bin/compile
+++ b/bin/compile
@@ -163,9 +163,6 @@ if [ ! -f requirements.txt ] && [ ! -f Pipfile ]; then
   echo "-e ." > requirements.txt
 fi
 
-# Uninstall removed dependencies with Pip.
-source $BIN_DIR/steps/pip-uninstall
-
 # Mercurial support.
 source $BIN_DIR/steps/mercurial
 
@@ -184,6 +181,9 @@ source $BIN_DIR/steps/gdal
 # Install dependencies with Pip (where the magic happens).
 source $BIN_DIR/steps/pip-install
 
+# Uninstall removed dependencies with Pip.
+source $BIN_DIR/steps/pip-uninstall
+
 # Support for NLTK corpora.
 sub-env $BIN_DIR/steps/nltk
 
-- 
GitLab