huak
huak copied to clipboard
Improve package name processing
At times the package name must be canonical (distribution-normalized). At other times the package name needs to be strictly importable.
Either force canonical package names on initialization of the struct or provide a public method for doing this (I lean towards the former currently).
Also would piggy-back off of this to make sure the proper name is used for:
- Project init
- Project create (new)
- Metadata script name/entry-points
I’d also like to revisit the PEP to make sure this is done as specified.