[BangPypers] Naming python packages

Baiju M baiju.m.mail at gmail.com
Tue Dec 20 07:47:43 CET 2011


On Tue, Dec 20, 2011 at 11:52 AM, Anand Chitipothu <anandology at gmail.com> wrote:
> 2011/12/20 Baiju M <baiju.m.mail at gmail.com>:
>> On Tue, Dec 20, 2011 at 10:32 AM, Anand Chitipothu <anandology at gmail.com> wrote:
>>> Hi,
>>>
>>> I've noticed that pip converts underscore in the package name to hyphen.
>>>
>>> $ pip install satchmo_indiapost
>>> Downloading/unpacking satchmo-indiapost
>>>  Could not find any downloads that satisfy the requirement satchmo-indiapost
>>> No distributions at all found for satchmo-indiapost
>>>
>>> There is a packge with requested name on pypi, but pip doesn't even
>>> looking for it.
>>>
>>> http://pypi.python.org/pypi/satchmo_indiapost
>>>
>>> Is underscore prohibited in the package names?
>>
>> Check the PJE's replies here:
>> http://mail.python.org/pipermail/distutils-sig/2010-March/thread.html#15641
>
> Quoting PJE:
>
> "It's a valid project name character; what it's not is a *canonical*
> project name character."
>
> What is this *canonical* project name?
>
> Does it mean underscore should be avoided in the project-name for all
> practical purposes?

Well, I tried to point out this issue (as you can see in the long thread),
but I couldn't succeed, then I stopped using underscore :)

Please send your concerns to "distutils-sig".

Regards,
Baiju M

using


More information about the BangPypers mailing list