Le 29/06/2012 18:01, Paul Moore a écrit :
On 29 June 2012 15:34, Daniel Holth<[email protected]> wrote:
May package names contain hyphen (-)?
Package or distribution? Package, no because it has to be a valid
Python identifier. Distribution, I'm not sure - there are funny rules
to allow for things like parsing dist-info directory names, or egg
filenames, unambiguously. One of the packaging PEPs would probably
answer this one.
Paul.
In package/module names, as Paul said, you can't use hyphens.
About project names, currently, the draft PEP recommends
using the same value for distributed module/package name
and for project name.
The consequence is: PEP 8 applies to project names too,
which means "no hyphens" in project names (and many other
rules).
The exception is the dot symbol, required to create
namespace packages.
Benoit
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig