Don't tie awx-manage to a particular dev environment version

This commit is contained in:
Matthew Jones
2017-07-25 09:40:23 -04:00
parent 6335953376
commit 1e27bad010
2 changed files with 3 additions and 4 deletions

View File

@@ -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')()
)