mirror of
https://github.com/ansible/awx.git
synced 2024-10-27 00:55:06 +03:00
Update make develop command, version check after package rename.
This commit is contained in:
parent
627305570c
commit
9790715a25
4
Makefile
4
Makefile
@ -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
|
||||
|
||||
|
@ -77,7 +77,7 @@ def get_ansible_version():
|
||||
|
||||
def get_awx_version():
|
||||
'''
|
||||
Return AWX version as reported by setuptools.
|
||||
Return Ansible Tower version as reported by setuptools.
|
||||
'''
|
||||
from awx import __version__
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user