> On Jan 30, 2015, at 2:57 AM, Thomas Güttler <[email protected]> 
> wrote:
> 
> Hi,
> 
> where is the reference of the allowed characters in the name argument of
> setuptool.setup()?
> 
> I could not find it.
> 

It depends on what you mean by allowed.

Previously the "name" was defined as allowing anything however setuptools
"normalizes" non ascii numeric characters to "-".

There is an unaccepted PEP[1] which says names are constrained to:

    
    * ASCII letters ( [a-zA-Z] )
    * ASCII digits ( [0-9] )
    * underscores ( _ )
    * hyphens ( - )
    * periods ( . )

Now in PyPI previously names were allowed to be anything that didn't contain
"/", however we've since changed that to match the constraints in the PEP.

[1] https://www.python.org/dev/peps/pep-0426/#name

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

_______________________________________________
Distutils-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to