From 902886918aed587411131b9be3842c0cb5091e20 Mon Sep 17 00:00:00 2001 From: Albert Hopkins Date: Wed, 30 Sep 2015 08:49:36 +0000 Subject: [PATCH] teamplayer: pass '--no-cache-dir' to pip So that it doesn't create a directory we don't want. --- appliances/teamplayer/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appliances/teamplayer/Makefile b/appliances/teamplayer/Makefile index 026f838..a97ac2b 100644 --- a/appliances/teamplayer/Makefile +++ b/appliances/teamplayer/Makefile @@ -38,8 +38,8 @@ endif mkdir -p $(CHROOT)/$(TP_HOME) cp bash_profile $(CHROOT)$(TP_HOME)/.bash_profile $(inroot) virtualenv $(TP_HOME) - $(inroot) bash -c ". $(TP_HOME)/bin/activate ; LANG=en_US.utf8 pip install hg+$(TP_REPO)@$(TP_BRANCH)" - $(inroot) bash -c ". $(TP_HOME)/bin/activate ; pip install psycopg2 uwsgi Whoosh setproctitle" + $(inroot) bash -c ". $(TP_HOME)/bin/activate ; LANG=en_US.utf8 pip install --no-cache-dir hg+$(TP_REPO)@$(TP_BRANCH)" + $(inroot) bash -c ". $(TP_HOME)/bin/activate ; pip install --no-cache-dir psycopg2 uwsgi Whoosh setproctitle" $(inroot) bash -c ". $(TP_HOME)/bin/activate ; django-admin.py startproject project $(TP_HOME)" chmod +x $(CHROOT)/$(TP_HOME)/manage.py $(inroot) ln -sf ../manage.py $(TP_HOME)/bin/manage