Browse code

Fix setup_develop

Change-Id: I64324436eebebfb05ad724335eece10cba107d91

Dean Troyer authored on 2012/09/30 07:25:02
Showing 1 changed files
... ...
@@ -681,7 +681,8 @@ function setup_develop() {
681 681
         python setup.py egg_info; \
682 682
         raw_links=$(awk '/^.+/ {print "-f " $1}' *.egg-info/dependency_links.txt); \
683 683
         depend_links=$(echo $raw_links | xargs); \
684
-        pip_install -r *-info/requires.txt $depend_links; \
684
+        require_file=$([ ! -r *-info/requires.txt ] || echo "-r *-info/requires.txt"); \
685
+        pip_install $require_file $depend_links; \
685 686
         $SUDO_CMD \
686 687
             HTTP_PROXY=$http_proxy \
687 688
             HTTPS_PROXY=$https_proxy \