Prefer python3 over python(2) in checkout-deps (#1424)
* Prefer python3 over python(2) in checkout-deps We require Python 3 and don't want to accidentally use Python 2 if both are available. * Use python3 in travis build * Install python3-pip package on travis trusty image * Fix pip detection in checkout-deps.sh
This commit is contained in:
Vendored
+2
-2
@@ -92,10 +92,10 @@ $SDKS | ForEach-Object {
|
||||
}
|
||||
|
||||
# Find a suitable installation of Python
|
||||
$PYTHON_CMD = Get-Command 'python' -ErrorAction SilentlyContinue
|
||||
$PYTHON_CMD = Get-Command 'python3' -ErrorAction SilentlyContinue
|
||||
if ($NULL -eq $PYTHON_CMD)
|
||||
{
|
||||
$PYTHON_CMD = Get-Command 'python3' -ErrorAction SilentlyContinue
|
||||
$PYTHON_CMD = Get-Command 'python' -ErrorAction SilentlyContinue
|
||||
if ($NULL -eq $PYTHON_CMD)
|
||||
{
|
||||
$PYTHON_CMD = Get-Command 'py' -ErrorAction SilentlyContinue
|
||||
|
||||
Reference in New Issue
Block a user