diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2020-08-10 12:47:36 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-11 20:35:39 +0100 |
commit | dc74b6e8d5ac4de84aa56e2c418eaca8eb1e7d46 (patch) | |
tree | 9aa87d648688149458d19a41e6054c6b6eed7217 /oe-init-build-env | |
parent | 98549fd68c1273dfbf9ab6cdfa054b57521fb4d6 (diff) | |
download | poky-dc74b6e8d5ac4de84aa56e2c418eaca8eb1e7d46.tar.gz |
python3: Improve handling of python3 manifest generation
Specifically cover detection of modules within a python package that do
not import anything within their __init__.py. This is at least the case
with the xmlrpc package which is only used via its modules xmlrpc.server
and xmlrpc.client. Other important corner cases include ctypes.utils
which depends on some modules not used by ctypes.
This is implemented by generally assuming that importing all the modules
of a package (aka *.py within a package, excluding _*.py) will provide
enough information.
Also due to this change some modules import sysconfig, resulting in
sysconfigdata being imported. Handle the conversion of its path to a
wildcard based on the platform dependent name being replaced.
(From OE-Core rev: bef4be54e02df5f230d250487f85994a3b7bbd77)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'oe-init-build-env')
0 files changed, 0 insertions, 0 deletions