huak icon indicating copy to clipboard operation
huak copied to clipboard

Improve package name processing

Open cnpryer opened this issue 1 year ago • 0 comments

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.

cnpryer avatar Apr 11 '23 01:04 cnpryer