]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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 13:27:20 +0000 (06:27 -0700)
commit9390f907a9f183f2f9200fa00cd63cfb9851dbe1
tree8699cf64ab7f31238df0e9ff1b90637ee8334a72
parenta6a96feb188d259c07edcd1b9a15424b18ba5c85
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'

(From OE-Core rev: 54e0b3bfc132613902418be148a900b10f6d9e38)

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