Fix setup_develop

Change-Id: I64324436eebebfb05ad724335eece10cba107d91
This commit is contained in:
Dean Troyer 2012-09-29 17:25:02 -05:00
parent e0ed68f51f
commit 1a3c9fe41b

View File

@ -681,7 +681,8 @@ function setup_develop() {
python setup.py egg_info; \
raw_links=$(awk '/^.+/ {print "-f " $1}' *.egg-info/dependency_links.txt); \
depend_links=$(echo $raw_links | xargs); \
pip_install -r *-info/requires.txt $depend_links; \
require_file=$([ ! -r *-info/requires.txt ] || echo "-r *-info/requires.txt"); \
pip_install $require_file $depend_links; \
$SUDO_CMD \
HTTP_PROXY=$http_proxy \
HTTPS_PROXY=$https_proxy \