summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-08 15:51:22 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-08 15:52:01 +0000
commit99136f5f591deef0c96d9aea2dbea1c216f38121 (patch)
treeb8228630e848df05e4ef971a6f4fe362d883efd3
parent058f8517c041b80e8b591ad7d34a68281b2d03fc (diff)
downloadbitbake-contrib-99136f5f591deef0c96d9aea2dbea1c216f38121.tar.gz
toaster: Reference pip3 not pip
Now that we use python3, we should refer to pip3, not pip. [YOCTO #10774] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xbin/toaster2
-rw-r--r--lib/toaster/tests/browser/README4
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/toaster b/bin/toaster
index e0aac1a7b..de38cece0 100755
--- a/bin/toaster
+++ b/bin/toaster
@@ -111,7 +111,7 @@ verify_prereq() {
if ! sed -n "$exp" $reqfile | python3 - ; then
req=`grep ^Django $reqfile`
echo "This program needs $req"
- echo "Please install with pip install -r $reqfile"
+ echo "Please install with pip3 install -r $reqfile"
return 2
fi
diff --git a/lib/toaster/tests/browser/README b/lib/toaster/tests/browser/README
index e841a3f12..352c4fe3e 100644
--- a/lib/toaster/tests/browser/README
+++ b/lib/toaster/tests/browser/README
@@ -2,9 +2,9 @@
These tests require Selenium to be installed in your Python environment.
-The simplest way to install this is via pip:
+The simplest way to install this is via pip3:
- pip install selenium==2.53.2
+ pip3 install selenium==2.53.2
Note that if you use other versions of Selenium, some of the tests (such as
tests.browser.test_js_unit_tests.TestJsUnitTests) may fail, as these rely on