mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 14:21:26 -07:00
Fix ansible-test python and pip executable search.
This commit is contained in:
parent
dd37857884
commit
a8487feb70
14 changed files with 81 additions and 75 deletions
|
@ -12,8 +12,8 @@ from lib.util import (
|
|||
ApplicationError,
|
||||
display,
|
||||
raw_command,
|
||||
find_pip,
|
||||
get_docker_completion,
|
||||
generate_pip_command,
|
||||
)
|
||||
|
||||
from lib.delegation import (
|
||||
|
@ -112,7 +112,7 @@ def parse_args():
|
|||
except ImportError:
|
||||
if '--requirements' not in sys.argv:
|
||||
raise
|
||||
raw_command(generate_pip_install(find_pip(), 'ansible-test'))
|
||||
raw_command(generate_pip_install(generate_pip_command(sys.executable), 'ansible-test'))
|
||||
import argparse
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue