Force reinstall of setuptools and pip

For some reason -I wasn't cutting it. Even though we were trying to install pip 8.1.2, this was happening:

Collecting pip==8.1.2
  Using cached pip-8.1.2-py2.py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-9.0.1

¯\_(ツ)_/¯
This commit is contained in:
Shane McDonald 2017-03-11 19:05:46 -05:00
parent ead643eff4
commit 388b0fdf04

View File

@ -264,8 +264,8 @@ virtualenv_ansible:
fi; \
if [ ! -d "$(VENV_BASE)/ansible" ]; then \
virtualenv --system-site-packages --setuptools $(VENV_BASE)/ansible && \
$(VENV_BASE)/ansible/bin/pip install -I setuptools==23.0.0 && \
$(VENV_BASE)/ansible/bin/pip install -I pip==8.1.2; \
$(VENV_BASE)/ansible/bin/pip install --force-reinstall setuptools==23.0.0 && \
$(VENV_BASE)/ansible/bin/pip install --force-reinstall pip==8.1.2; \
fi; \
fi
@ -276,8 +276,8 @@ virtualenv_tower:
fi; \
if [ ! -d "$(VENV_BASE)/tower" ]; then \
virtualenv --system-site-packages --setuptools $(VENV_BASE)/tower && \
$(VENV_BASE)/tower/bin/pip install -I setuptools==23.0.0 && \
$(VENV_BASE)/tower/bin/pip install -I pip==8.1.2; \
$(VENV_BASE)/tower/bin/pip install --force-reinstall setuptools==23.0.0 && \
$(VENV_BASE)/tower/bin/pip install --force-reinstall pip==8.1.2; \
fi; \
fi