]> code.ossystems Code Review - openembedded-core.git/commit
python3: Do not hardcode "lib" for distutils
authorChangqing Li <changqing.li@windriver.com>
Fri, 7 Feb 2020 06:07:44 +0000 (14:07 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Feb 2020 13:19:56 +0000 (13:19 +0000)
commitfb33127de5d80f5bcb84edf6cf4007bca73fa863
tree17a96cc1c490012f405254af99cd33b582d814c1
parent3081d3993095d2e4817bbef33c9c90dd814a45d7
python3: Do not hardcode "lib" for distutils

Get the sys.lib from python3 itself and do not use
hardcoded value of 'lib' for distutils.

Solve the error below that occurs when run "python3 setup.py
install"
on lib64 multilib platform:
[Errno 2] No such file or directory:
'/usr/lib/python3.7/site-packages/test-easy-install-1828.write-test'

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3/0001-python3-Do-not-hardcode-lib-for-distutils.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3_3.8.1.bb