mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Don't tie awx-manage to a particular dev environment version
This commit is contained in:
parent
6335953376
commit
1e27bad010
@ -1,10 +1,10 @@
|
||||
#!/venv/awx/bin/python
|
||||
# EASY-INSTALL-ENTRY-SCRIPT: 'ansible-awx==placeholder','console_scripts','awx-manage'
|
||||
__requires__ = 'ansible-awx==placeholder'
|
||||
# EASY-INSTALL-ENTRY-SCRIPT: 'ansible-awx','console_scripts','awx-manage'
|
||||
__requires__ = 'ansible-awx'
|
||||
import sys
|
||||
from pkg_resources import load_entry_point
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(
|
||||
load_entry_point('ansible-awx==placeholder', 'console_scripts', 'awx-manage')()
|
||||
load_entry_point('ansible-awx', 'console_scripts', 'awx-manage')()
|
||||
)
|
||||
|
||||
@ -23,7 +23,6 @@ fi
|
||||
|
||||
cp -R /tmp/ansible_awx.egg-info /awx_devel/ || true
|
||||
sed -i "s/placeholder/$(git describe --long | sed 's/\./\\./g')/" /awx_devel/ansible_awx.egg-info/PKG-INFO
|
||||
sed -i "s/placeholder/$(git describe --long | sed 's/\./\\./g')/" /usr/local/bin/awx-manage
|
||||
cp /tmp/ansible-awx.egg-link /venv/awx/lib/python2.7/site-packages/ansible-awx.egg-link
|
||||
ln -s /awx_devel/tools/rdb.py /venv/awx/lib/python2.7/site-packages/rdb.py || true
|
||||
yes | cp -rf /awx_devel/tools/docker-compose/supervisor.conf /supervisor.conf
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user