Bug 13114 - Split python3-ctypes tests package
Summary: Split python3-ctypes tests package
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium+ enhancement
Target Milestone: 2.7 M2
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-01-03 09:06 UTC by luzik
Modified: 2019-01-03 16:14 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description luzik 2019-01-03 09:06:03 UTC
In embedded world image size do matters.

$ cd tmp/work/cortexa7hf-neon-poky-linux-gnueabi/python3/3.5.3-r1.0/packages-split/python3-ctypes/

$ du -hs usr/lib/python3.5/ctypes/*
4,0K	usr/lib/python3.5/ctypes/_endian.py
20K	usr/lib/python3.5/ctypes/__init__.py
100K	usr/lib/python3.5/ctypes/macholib
120K	usr/lib/python3.5/ctypes/__pycache__
1,4M	usr/lib/python3.5/ctypes/test
12K	usr/lib/python3.5/ctypes/util.py
8,0K	usr/lib/python3.5/ctypes/wintypes.py

Please consider extracting python3-ctypes-tests package
Comment 2 Ross Burton 2019-01-03 16:14:53 UTC
Yes, that did fix it in master:

$ oe-pkgdata-util find-path /usr/lib/python3.5/ctypes/test/__init__.py
python3-tests: /usr/lib/python3.5/ctypes/test/__init__.py