#533 Distinguish between packaging modules and applications in python packaging
Closed: Fixed None Opened 4 years ago by rkuska.

I would like to add section to python packaging about deciding when to package for multiple python runtimes and how to package for a single python runtime.

[1] https://fedoraproject.org/wiki/User:Rkuska/packaging

I think it is important to distinguish between packaging of modules and applications as applications needs to be packaged only for one python runtime (with exceptions like pip) which should be the distro default python runtime (if supported).

This change would help packagers by using a single specfile across different versions of Fedora.
Note that %{py_default_major} macro is not defined in [1] as I would like to have it inside buildroot macros if possible (expands to 3 on Fedora>=23 not defined on Fedora<23).


We discussed this at this weeks meeting (http://meetbot.fedoraproject.org/fedora-meeting-1/2015-06-11/fpc.2015-06-11-16.00.txt):

...which doesn't say much but this quote from the log will probably help:

{{{
<tibbs|w> For 533, I don't think this belongs in python at all.
<tibbs|w> Drafting a general guideline for this is on my list.
<tibbs|w> It really doesn't apply to python specifically.
<geppetto> yeh, I mean python is a bit special … but not much.
<rathann> tibbs|w: would be nice to have, of course, I'm +1 to it either way
}}}

Metadata Update from @james:
- Issue assigned to james

2 years ago

Login to comment on this ticket.

Metadata