Proposal: naming convention for Python 3 packages and subpackages

Toshio Kuratomi a.badger at gmail.com
Sat Oct 31 00:38:23 UTC 2009


On Thu, Oct 29, 2009 at 08:54:01PM -0600, Sean Reifschneider wrote:
> On 10/29/2009 07:50 PM, Toshio Kuratomi wrote:
> > +1 to this section
> 
> In general I'm +1 to everything you said, Toshio, but just to clarify.
> 
> > mod_python is something we might have to consider differently than the other
> 
> In my mind the difference is between modules/libraries and python add-ons
> to other applications.
> 
> So, it's very natural that python3-gnome starts with "python3" because you
> use it with the Python "application", as it's a library.  And it's natural
> the mod_python or vim+python be "httpd-mod_python3" or "vim-python3"
> because they are components to the http and vim applications.
> 
> The place it gets strange is for something like Idle, which is an
> application in it's own right, but is used with Python development.
> 
> I almost want something like the "lib" prefix that is used to mark
> system libraries, but for python.  Like "python3-libpsycopg2".  Then I
> could search explicitly for modules with "yum search python-lib"...  That's
> a pretty drastic change though, and would probably make more sense in
> combination with "perl-lib", etc...  <shrug>
> 
> Probably not a good idea, but it feels somewhat natural.
> 
I think we're generally using python- (inconsistently) and python3- (want to
make this 100% consistent) asour lib prefixfor python libraries.  Is Idle
just a python application or is it also used as a library?  I'm afraid I
haven't looked so I don't know how strange it is under this scheme.

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-python-devel-list/attachments/20091030/d54947eb/attachment.sig>


More information about the Fedora-python-devel-list mailing list