diff options
Diffstat (limited to 'meta/recipes-devtools')
| -rw-r--r-- | meta/recipes-devtools/python/python3_3.10.2.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.10.2.bb b/meta/recipes-devtools/python/python3_3.10.2.bb index 41b7b92b34..e61b23c6a9 100644 --- a/meta/recipes-devtools/python/python3_3.10.2.bb +++ b/meta/recipes-devtools/python/python3_3.10.2.bb | |||
| @@ -189,6 +189,11 @@ do_install:append() { | |||
| 189 | # More info: http://benno.id.au/blog/2013/01/15/python-determinism | 189 | # More info: http://benno.id.au/blog/2013/01/15/python-determinism |
| 190 | rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_range.cpython* | 190 | rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_range.cpython* |
| 191 | rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_xml_etree.cpython* | 191 | rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_xml_etree.cpython* |
| 192 | |||
| 193 | # Remove the opt-1.pyc and opt-2.pyc files. They effectively waste space on embedded | ||
| 194 | # style targets as they're only used when python is called with the -O or -OO options | ||
| 195 | # which is rare. | ||
| 196 | find ${D} -name *opt-*.pyc -delete | ||
| 192 | } | 197 | } |
| 193 | 198 | ||
| 194 | do_install:append:class-nativesdk () { | 199 | do_install:append:class-nativesdk () { |
