Python naming clarification

Toshio Kuratomi a.badger at gmail.com
Mon Nov 13 17:18:31 UTC 2006


On Sun, 2006-11-12 at 23:47 -0500, Michel Salim wrote:
> On 11/12/06, Jesse Keating <jkeating at redhat.com> wrote:
> > On Sunday 12 November 2006 20:58, Michel Salim wrote:
> > > According to the Package Naming Guidelines, python-dependent packages
> > > should be named python-%{name}, unless the name contains py or Py. I'm
> > > looking at packaging Django, which is a web application framework
> > > similar to TurboGears, and I note that the latter is in Fedora under
> > > the name of, yes, TurboGears.
> >
> > I thought it was python module packages that needed to be python-foo or pyfoo
> > or foopy.  Applications that happen to be written or partially written in
> > python are exempt from this, or so I assumed (as I just submitted and built
> > pungi, an application that is written in python, and has its own python
> > module (pypungi)).
> >
> Ah, good. I just submitted it as Django:
> 
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=215267


Jesse is right about modules vs applications but turbogears is
definitely a module so I would argue that TurboGears was misnamed when
it got in.  You use TurboGears in you website using:
  import turbogears

Thus its a module with lowercase import name  so it should be named:
  python-turbogears

If Django is also imported it should follow a similar convention:
  import Django => python-Django
  import django => python-django

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20061113/aa9781d9/attachment.sig>


More information about the fedora-extras-list mailing list