Update make develop command, version check after package rename.

This commit is contained in:
Chris Church
2014-01-29 13:49:29 -05:00
committed by Matthew Jones
parent fee658e950
commit b6f623229b
2 changed files with 4 additions and 2 deletions

View File

@@ -72,12 +72,14 @@ requirements_pypi:
sudo pip install -r requirements/dev.txt; \
fi
# "Install" awx package in development mode. Creates link to working
# "Install" ansible-tower package in development mode. Creates link to working
# copy in site-packages and installs awx-manage command.
develop:
@if [ "$(VIRTUAL_ENV)" ]; then \
pip uninstall -y awx; \
$(PYTHON) setup.py develop; \
else \
sudo pip uninstall -y awx; \
sudo $(PYTHON) setup.py develop; \
fi