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

Orion Poplawski orion at cora.nwra.com
Fri Sep 25 16:45:22 UTC 2015


On 09/25/2015 10:01 AM, Christopher Meng wrote:
> On 9/25/15, Matthew Miller <mattdm at fedoraproject.org> wrote:
>> On Fri, Sep 25, 2015 at 11:30:38AM -0400, Bohuslav Kabrda wrote:
>>> Maybe we could utilize weak dependencies here. The python-foo package
>>> would have only bytecompiled files and would Recommend
>>> python-foo-sourcefiles. That way python-foo-sourcefiles would be
>>> installed in standard setting, but it would be possible to opt out of
>>> it.
> 
> Just my 2 cents here, I'd seek another solution for this but
> implemented as a plugin or an option of dnf, whereas introducing new
> subpkg of large amount of packages sounds tedious to me.

Yes, that would be tedious.  I'd only be for it if it could be made automatic
- which I think could be possible, similar to how debuginfo is produced.  It
would be a lot trickier though as the files live side-by-side.

> 
> For example define a new kind of file as %cache in %files, and process
> them like find-lang, then let users decide whether files marked as
> %cache will be installed in default or not.
> 

This is an interesting idea too though.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                   http://www.nwra.com


More information about the devel mailing list