Install setuptools/Django development packages separately before installing the others.

This commit is contained in:
Chris Church
2014-03-31 14:08:03 -04:00
parent 89474973fc
commit 8901cd31e7
3 changed files with 7 additions and 1 deletions

View File

@@ -58,6 +58,8 @@ push:
# locally downloaded packages).
requirements:
@if [ "$(VIRTUAL_ENV)" ]; then \
(cd requirements && pip install --no-index setuptools-2.2.tar.gz); \
(cd requirements && pip install --no-index Django-1.5.5.tar.gz); \
(cd requirements && pip install --no-index -r dev_local.txt); \
$(PYTHON) fix_virtualenv_setuptools.py; \
else \
@@ -68,6 +70,8 @@ requirements:
# (downloading from PyPI if necessary).
requirements_pypi:
@if [ "$(VIRTUAL_ENV)" ]; then \
pip install setuptools==2.2; \
pip install Django==1.5.5; \
pip install -r requirements/dev.txt; \
$(PYTHON) fix_virtualenv_setuptools.py; \
else \