summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3/python3-manifest.json
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2020-08-10 12:47:36 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-11 20:35:39 +0100
commitdc74b6e8d5ac4de84aa56e2c418eaca8eb1e7d46 (patch)
tree9aa87d648688149458d19a41e6054c6b6eed7217 /meta/recipes-devtools/python/python3/python3-manifest.json
parent98549fd68c1273dfbf9ab6cdfa054b57521fb4d6 (diff)
downloadpoky-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 'meta/recipes-devtools/python/python3/python3-manifest.json')
-rw-r--r--meta/recipes-devtools/python/python3/python3-manifest.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 3bcc9b8662..07b084d48c 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -324,7 +324,7 @@
324 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_compression.*.pyc", 324 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_compression.*.pyc",
325 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_markupbase.*.pyc", 325 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_markupbase.*.pyc",
326 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_sitebuiltins.*.pyc", 326 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_sitebuiltins.*.pyc",
327 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_sysconfigdata.*.pyc", 327 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_sysconfigdata*.*.pyc",
328 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_weakrefset.*.pyc", 328 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_weakrefset.*.pyc",
329 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/abc.*.pyc", 329 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/abc.*.pyc",
330 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/argparse.*.pyc", 330 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/argparse.*.pyc",