[OE-core] [RFC PATCH] package.bbclass: omit .pyc and .pyo file

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jan 7 08:07:13 UTC 2015


On Tue, 2015-01-06 at 17:07 -0800, Robert Yang wrote:
> We should not ship .pyc or .pyo file, but there are a few packages
> ship .pyc, should we:

Why should we not ship them? Doesn't python create these at runtime if
they're not present? What happens on a read only filesystem?

I'm sure we've had issues raised by someone with a read only filesystem
before FWIW.

I agree there is probably an issue here but deleting them may not be the
best option. I'm open to ideas though.

Cheers,

Richard




More information about the Openembedded-core mailing list