[OE-core] [PATCH 2/2] python3: Do not hardcode "lib" for distutils

2020-02-07 Thread changqing.li
From: Changqing Li 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

[OE-core] [PATCH 2/2] python3: Do not hardcode "lib" for distutils

2020-01-05 Thread Li Zhou
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'