On Friday 2017-02-17 06:33, Bernhard M. Wiedemann wrote:
I assume, we want to keep the concept of .pyc files, since they provide some performance gain[...] But why do we have to ship .pyc files as part of our binary rpms? They waste disk space and bandwidth for our mirrors and users. They could be created in a %post or %posttrans hook when installing the rpm (or do they need special build deps?)
- It could prolong the installation time. - rpm -qi's Size field is further away from the real installation size ("yast said it would take 1.2GB now it's 2.0.."-kind of thing) - Creating them in %post, i.e. directly on the end-user system, in a way defeats the purpose of a precompiled distribution.
It might even be, that compiling them on the destination is faster than transferring and unpacking the LZMA compressed version.
Feel free to take numbers on a 32-bit Raspberry :-p -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org