python: dropping the .py files [was Re: Fedora 23 cloud image (and, for that matter, minimal anything)] bloat

Przemek Klosowski przemek.klosowski at nist.gov
Fri Sep 25 15:57:20 UTC 2015


On 09/25/2015 10:04 AM, Matthew Miller wrote:
> On Thu, Sep 24, 2015 at 10:10:40AM +0200, Vít Ondruch wrote:
>> Also, you might consider to ship the precompiled bytecode just
>> optionally, using recommends.
>>
>> On contrary, if you insist on shipping the bytecode, why you don't drop
>> the .py files? I see a lot of duplication all around python packages ....
> Wait, we can do that? Why don't we?
>
> Everything I see in online discussion is centered on, basically,
> transparency. But we wouldn't be doing it for obfuscation. The srpms
> would still be there, and for that matter we could ship the .py files
> in a subpackage.
>
I wondered how much of a saving it'd be: I have around 250 python 
packages installed (plus python code from assorted other packages, of 
course).

The total size of .py files on my system is 320MB! There are even 24 .py 
files that are larger than 500kB (mostly from third party packages, like 
e.g. gnuradio, freecad).


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20150925/d60969c3/attachment.html>


More information about the devel mailing list