Python submodule naming

Toshio Kuratomi toshio at tiki-lounge.com
Fri Jul 21 19:10:18 UTC 2006


On Fri, 2006-07-21 at 14:55 -0400, Luke Macken wrote:
> I'm currently working on getting Paste{,Deploy,Script} though the review
> process, and Patrice Dumas asks a good naming question in the bug[0]:
> 
>     I don't know if the name should be python-paste-deploy or 
>     python-pastedeploy. The guidelines don't cover the case of python
>     submodules. If it is "This makes a package name format of python-$NAME"
>     it seems to be python-pastedeploy, but if one follow "use the name of the
>     module that you type to import it in a script" it should be
>     python-paste-deploy. The second naming convention is also consistent
>     with perl modules naming. 
> 
I'd follow the second line of reasoning: If it's "import paste.deploy"
name it "python-paste-deploy".  I don't recall this ever being discussed
before, though.

> 
> [0]: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198288#c2

-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/20060721/d23489ac/attachment.sig>


More information about the fedora-extras-list mailing list