[Distutils] Proposal: Restrict the characters in a project name

Donald Stufft donald at stufft.io
Thu May 16 02:59:08 CEST 2013


On May 15, 2013, at 8:35 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:

> On Thu, May 16, 2013 at 10:00 AM, Donald Stufft <donald at stufft.io> wrote:
>> PyPI already endures case insensitive uniqueness and considers - and _ the
>> same for uniqueness checks
> 
> Still something we should formalise in the 2.0 spec, though.
> 
> Cheers,
> Nick.
> 
> --
> Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

The rule would be case insensitive, alpha numerics, and period, hyphen, and underscore where hypen and underscore are considered equivalent. Just verified this based on the current code + the proposal.

-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130515/a6130869/attachment.pgp>


More information about the Distutils-SIG mailing list