]> code.ossystems Code Review - openembedded-core.git/commit
python3: Fix purelib install and runtime paths
authorJason Wessel <jason.wessel@windriver.com>
Tue, 13 Mar 2018 03:08:26 +0000 (22:08 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 15 Mar 2018 10:38:48 +0000 (03:38 -0700)
commit54e0b3bfc132613902418be148a900b10f6d9e38
tree82847081a9f02f43bb53723bdc65b4007efe8872
parent33d79f19dd3a2b5777e07fbf75ec4635d08e60e8
python3: Fix purelib install and runtime paths

oe-core commit: 45afadf0b6 fixed the pip problem with purelib for
python2, even though the the patch stated it was for python3.  This
patch addresses the purelib problem for python3.

If you install the package python3-pip you will have a pip3 binary
where you can see the problem on the device easily where the modules
install into the incorrect area and are not able to be referenced by
python3 at all.

Example error:
   pip3 install imutils
   pip3 list |grep imutils || echo ERROR no imutils
      ERROR no imutils
   python3 -c 'import imutils'
     Traceback (most recent call last):
       File "<string>", line 1, in <module>
     ImportError: No module named 'imutils'

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/python/python3/python-3.3-multilib.patch