Hello, Just as a small reference since I raised some doubts and questions in Buildroot community on this: there has been also some troubles to understand the correctness or not there (as I found some packages with problems due to this source-less management) and this then sparked, besides discussions in the Buildroot mailing list (roughly end of July / beginning of August if someone interested searching there), also an issue to the Python community, which albeit some discussion I think never arrived to a concrete conclusion. This is the issue: https://github.com/python/cpython/issues/95827 (see also the linked one maybe)
These are just my 2 cents to this discussion, then of course the Python experts will probably chime in and describe the official/discussed position of Yocto regarding to this, but just felt like mentioning that although Buildroot is somehow offering this right now (and likely mostly works as well!), it's not really a so clean and/or agreed solution. Cheers, Federico Il giorno dom 13 nov 2022 alle ore 13:55 Yishai Jaffe <yishai1...@gmail.com> ha scritto: > Hi, > I was wondering if there has been talk about support for source-less > python on an image. Installing py and pyc files doubles the size of python > on the rootfs. I can imagine this being implemented as an image feature. > I know that in buildroot it is supported. > Was this discussed and decided against? Is this an open issue? > I have a working patch that implements this. I can submit it for review. > > Thanks, > Yishai Jaffe > Yishai Jaffe > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58549): https://lists.yoctoproject.org/g/yocto/message/58549 Mute This Topic: https://lists.yoctoproject.org/mt/94997538/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-