diff --git a/Makefile b/Makefile index 3a9f6640f3..0777dba001 100644 --- a/Makefile +++ b/Makefile @@ -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 \ diff --git a/requirements/dev_local.txt b/requirements/dev_local.txt index b6ae9c53e8..75115b1e6c 100644 --- a/requirements/dev_local.txt +++ b/requirements/dev_local.txt @@ -1,8 +1,9 @@ # PIP requirements for AWX development/build environment (using only local # packages). Install using "pip --no-index -r dev_local.txt". -distribute-0.7.3.zip +# May need to install these packages separately the first time: setuptools-2.2.tar.gz +distribute-0.7.3.zip Django-1.5.5.tar.gz # The following packages are bundled with AWX (in awx/lib/site-packages): diff --git a/requirements/prod_local.txt b/requirements/prod_local.txt index 0b8f27b551..938eb017a5 100644 --- a/requirements/prod_local.txt +++ b/requirements/prod_local.txt @@ -1,6 +1,7 @@ # PIP requirements for AWX production environment (using only local packages). # Install using "pip --no-index -r prod_local.txt". +# May need to install this package separately the first time: Django-1.5.5.tar.gz # The following packages are bundled with AWX (in awx/lib/site-packages):