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

Fabian Deutsch fdeutsch at redhat.com
Fri Sep 25 14:29:08 UTC 2015


On Fri, Sep 25, 2015 at 4:26 PM, Stephen Gallagher <sgallagh at redhat.com> wrote:
> On Fri, 2015-09-25 at 16:17 +0200, Fabian Deutsch wrote:
>> On Fri, Sep 25, 2015 at 4:04 PM, Matthew Miller
>> <mattdm at fedoraproject.org> wrote:
>> > > 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 ....
>>
>> Don't do that, it has impact on functionality.
>> We did this for years [0], but you wonder how many components
>> actually
>> glob for *.py files i.e. to load plugins.
>> Blacklisting files is not worth the space.
>>
>
>
> Just as an FYI, rolekit does exactly this.

virt-who, sosreport, and python-urllib3 are just other examples of
packages doing this.

- fabian

-- 
Fabian Deutsch <fdeutsch at redhat.com>
RHEV Hypervisor
Red Hat


More information about the devel mailing list