summaryrefslogtreecommitdiff
path: root/buildscripts/utils.py
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2019-04-10 11:42:47 -0400
committerMathew Robinson <chasinglogic@gmail.com>2019-04-10 11:42:47 -0400
commitf4feba485b6620518d6569c2bcfda2d2dd12d050 (patch)
tree8300674ef31923ba2d55f563ef79c467867c53e7 /buildscripts/utils.py
parent6ad0264d3e2633439b3adeda97f5eb52240b1fc0 (diff)
downloadmongo-f4feba485b6620518d6569c2bcfda2d2dd12d050.tar.gz
SERVER-40542 Remove references to pip2
Diffstat (limited to 'buildscripts/utils.py')
-rw-r--r--buildscripts/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/utils.py b/buildscripts/utils.py
index 57d3f5da3a2..e70b7a98553 100644
--- a/buildscripts/utils.py
+++ b/buildscripts/utils.py
@@ -139,7 +139,7 @@ def find_python(min_version=(3, 7)):
pass
version = re.compile(r"[Pp]ython ([\d\.]+)", re.MULTILINE)
- binaries = ("python27", "python2.7", "python26", "python2.6", "python25", "python2.5", "python")
+ binaries = ("python37", "python3.7", "python36", "python3.6", "python35", "python3.5", "python")
for binary in binaries:
try:
out, err = subprocess.Popen([binary, "-V"], stdout=subprocess.PIPE,