summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-pyrex_0.9.9.bb
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2012-05-21 22:54:23 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-24 08:51:40 +0100
commitdc290d16eb97f80208ec2d3c9d220003595afc4d (patch)
treea4cde544a9f9e6d5d138f9fb6cf49f374a4e3b3c /meta/recipes-devtools/python/python-pyrex_0.9.9.bb
parent3db152524f8cfc2a772810e24081377be85c4db8 (diff)
downloadpoky-dc290d16eb97f80208ec2d3c9d220003595afc4d.tar.gz
distutils.bbclass: don't delete .pyo files
* Deleting .pyo files causes them to get compiled on the target. * First boot gets *really* slow for python based projects. * No space gets saved on the target. * The package manager doesn't know about the files and therefore fails to uninstall them, occupying space and causing uninstalled python scripts to remain executable. * It's inconsistent, because python itself and autotools based projects already ship .pyo files. * Probably .pyo files were deleted because .pyc files were available earlier, but this has changed and OE-Core's python now only generates optimized .pyo files. Deletion of .pyo was introduced in 2008, python/04-default-is-optimized.patch was introduced in 2009. (From OE-Core rev: 25e186ad5b75bd2f93435857580bd16698e18e21) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-pyrex_0.9.9.bb')
0 files changed, 0 insertions, 0 deletions