[oe-commits] [bitbake] branch master updated: toaster: Reference pip3 not pip

git at git.openembedded.org git at git.openembedded.org
Thu Dec 8 15:53:26 UTC 2016


rpurdie pushed a commit to branch master
in repository bitbake.

The following commit(s) were added to refs/heads/master by this push:
       new  99136f5   toaster: Reference pip3 not pip
99136f5 is described below

commit 99136f5f591deef0c96d9aea2dbea1c216f38121
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu Dec 8 15:51:22 2016 +0000

    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 at linuxfoundation.org>
---
 bin/toaster                      | 2 +-
 lib/toaster/tests/browser/README | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/toaster b/bin/toaster
index e0aac1a..de38cec 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 e841a3f..352c4fe 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list