summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2018-11-19 10:19:24 +0000
committerBenjamin Schubert <ben.c.schubert@gmail.com>2018-11-19 10:19:24 +0000
commitea2de561bb06683f9c2742e2ba46386c17788563 (patch)
tree46d214e796a01e2a66de8106044527300c1a7123
parent0d309478f16e5c8f53c2e066b078dfd1587801aa (diff)
parent279327397704f9a81e95b09a54c5e560ac1f555d (diff)
downloadbuildstream-ea2de561bb06683f9c2742e2ba46386c17788563.tar.gz
Merge branch 'bschubert/fix-pip-python' into 'master'
plugins/sources/pip.py: also look for python version named "python" Closes #758 See merge request BuildStream/buildstream!942
-rw-r--r--buildstream/plugins/sources/pip.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildstream/plugins/sources/pip.py b/buildstream/plugins/sources/pip.py
index 2ef401620..df2eeb5db 100644
--- a/buildstream/plugins/sources/pip.py
+++ b/buildstream/plugins/sources/pip.py
@@ -80,6 +80,7 @@ _PYPI_INDEX_URL = 'https://pypi.org/simple/'
# Used only for finding pip command
_PYTHON_VERSIONS = [
+ 'python', # when running in a venv, we might not have the exact version
'python2.7',
'python3.0',
'python3.1',